[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Overview of stdlib.h

The stdlib.h header file provides groups of closely related functions for string conversion, pseudo-random number generation, memory management, environment communication, searching and sorting, multibyte character conversion, and integer arithmetic.
The string conversion functions are
The pseudo-random number generation functions are
"rand"
"srand"
The memory management functions are
"calloc"
"free"
"malloc"
"realloc"
"vec_calloc"
"vec_free"
"vec_malloc"
"vec_realloc"
The environment communication functions are
"abort"
"atexit"
"exit"
"getenv"
"_putenv"
"system"
The searching and sorting functions are
"bsearch"
"qsort"
The multibyte conversion functions convert locale-specific multibyte characters to wchar_t type characters (defined in stddef.h). The functions are
"mblen"
"mbstowcs"
"mbtowc"
"wcstombs"
"wctomb"
The integer arithmetic functions are
"abs"
"div"
"labs"
"llabs"
"ldiv"
Many of the stdlib.h functions use the size_t type and the NULL macro, which are defined in stdlib.h.
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 16, 2000