2 constant EXIT_SUCCESS 0
4 constant RAND_MAX >= 32767
11 element ldiv_t long quot
12 element ldiv_t long rem
13 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
15 element lldiv_t {long long} quot
16 element lldiv_t {long long} rem
31 function void _Exit (int)
32 #if !defined POSIX && !defined POSIX2008
33 function long a64l (const char*)
35 function void abort (void)
36 function int abs (int)
37 function int atexit (void(*)(void))
38 function double atof (const char*)
39 function int atoi (const char*)
40 function {long int} atol (const char*)
41 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
42 function {long long} atoll (const char*)
44 function {void*} bsearch (const void*, const void*, size_t, size_t, int(*)(const void*, const void*))
45 function {void*} calloc (size_t, size_t)
46 function div_t div (int, int)
47 #if !defined POSIX && !defined POSIX2008
48 function double drand48 (void)
50 #if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
51 function {char*} ecvt (double, int, int*, int*)
53 #if !defined POSIX && !defined POSIX2008
54 function double erand48 (unsigned short int[3])
56 function void exit (int)
57 #if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
58 function {char*} fcvt (double, int, int*, int*)
60 function void free (void*)
61 #if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
62 function {char*} gcvt (double, int, char*)
64 function {char*} getenv (const char*)
65 function int getsubopt (char**, char *const*, char**)
66 #if !defined POSIX && !defined POSIX2008
67 function int grantpt (int)
68 function {char*} initstate (unsigned int, char*, size_t)
69 function {long int} jrand48 (unsigned short int[3])
70 function {char*} l64a (long)
72 function {long int} labs (long int)
73 #if !defined POSIX && !defined POSIX2008
74 function void lcong48 (unsigned short int[7])
76 function ldiv_t ldiv (long int, long int)
77 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
78 function {long long} llabs (long long)
79 function lldiv_t lldiv (long long, long long)
81 #if !defined POSIX && !defined POSIX2008
82 function {long int} lrand48 (void)
84 function {void*} malloc (size_t)
85 function int mblen (const char*, size_t)
86 function size_t mbstowcs (wchar_t*, const char*, size_t)
87 function int mbtowc (wchar_t*, const char*, size_t)
88 #if defined XOPEN2K8 || defined POSIX2008
89 function {char*} mkdtemp (char*)
91 #if !defined XOPEN2K8 && !defined POSIX2008
92 function {char*} mktemp (char*)
94 function int mkstemp (char*)
95 #if !defined POSIX && !defined POSIX2008
96 function {long int} mrand48 (void)
97 function {long int} nrand48 (unsigned short int[3])
99 function int posix_memalign (void**, size_t, size_t)
100 #if defined XOPEN2K || defined XOPEN2K8
101 function int posix_openpt (int)
103 #if !defined POSIX && !defined POSIX2008
104 function {char*} ptsname (int)
105 function int putenv (char*)
107 function void qsort (void*, size_t, size_t, int(*)(const void*, const void*))
108 function int rand (void)
109 function int rand_r (unsigned int*)
110 #if !defined POSIX && !defined POSIX2008
111 function long random (void)
113 function {void*} realloc (void*, size_t)
114 #if !defined POSIX && !defined POSIX2008
115 function {char*} realpath (const char*, char*)
116 function {unsigned short int*} seed48 (unsigned short int[3])
118 function int setenv (const char*, const char*, int)
119 #if !defined POSIX && !defined POSIX2008
120 function void setkey (const char*)
121 function {char*} setstate (char*)
123 function void srand (unsigned int)
124 #if !defined POSIX && !defined POSIX2008
125 function void srand48 (long int)
126 function void srandom (unsigned)
128 function double strtod (const char*, char**)
129 function {long int} strtol (const char*, char**, int)
130 function {unsigned long int} strtoul (const char*, char**, int)
131 function int system (const char*)
132 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
133 function int ttyslot (void)
135 #if !defined POSIX && !defined POSIX2008
136 function int unlockpt (int)
138 function int unsetenv (const char*)
139 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
140 function {void*} valloc (size_t)
142 function size_t wcstombs (char*, const wchar_t*, size_t)
143 function int wctomb (char*, wchar_t)
145 allow-header stddef.h
146 allow-header limits.h
148 allow-header sys/wait.h