Headers stdlib.h(3HEAD)
NAME
stdlib.h, stdlib - standard library definitions
SYNOPSIS
#include
DESCRIPTION
The
header defines the following macros: EXIT_FAILURE Unsuccessful termination for exit(); evalu-
ates to a non-zero value. See exit(3C).
EXIT_SUCCESS Successful termination for exit(); evaluates
to 0. NULL Null pointer.{RAND_MAX} Maximum value returned by rand(); at least
32767. See rand(3C).{MB_CUR_MAX} Integer expression whose value is the max-
imum number of bytes in a character speci-
fied by the current locale. The following data types are defined through typedef:div_t structure type returned by the div() function
ldiv_t structure type returned by the ldiv() function
lldiv_t structure type returned by the lldiv() function
size_t as described in
wchar_t as described in
See div(3C), which covers div(), ldiv(), and lldiv(), and stddef.h(3HEAD).SunOS 5.11 Last change: 10 Sep 2004 1
Headers stdlib.h(3HEAD)
In addition, the symbolic names and macros listed below are defined as in, for use in decoding the return value from system(). See wait.h(3HEAD) and system(3C). WNOHANG WUNTRACED WEXITSTATUS WIFEXITED WIFSIGNALED WIFSTOPPED WSTOPSIG WTERMSIG ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| Standard | See standards(5). ||_____________________________|_____________________________|
SEE ALSO
a64l(3C), abort(3C), abs(3C), atexit(3C), bsearch(3C), div(3C), drand48(3C), exit(3C), getenv(3C), getsubopt(3C), grantpt(3C), malloc(3C), mblen(3C), mbstowcs(3C), mbtowc(3C), mkstemp(3C), ptsname(3C), putenv(3C), qsort(3C), random(3C), realpath(3C), strtod(3C), strtol(3C), strtoul(3C), unlockpt(3C), wcstombs(3C), wctomb(3C), limits.h(3HEAD), math.h(3HEAD), stddef.h(3HEAD), types.h(3HEAD), wait.h(3HEAD), attributes(5), standards(5)SunOS 5.11 Last change: 10 Sep 2004 2