5 element ldiv_t long quot
6 element ldiv_t long rem
8 macro-int-constant EXIT_FAILURE
9 macro-int-constant EXIT_SUCCESS == 0
11 macro-constant NULL == 0
12 macro-int-constant RAND_MAX >= 32767
15 #if defined ISO99 || defined ISO11 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
17 element lldiv_t {long long} quot
18 element lldiv_t {long long} rem
23 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
35 #if !defined ISO && !defined XPG4 && !defined XPG42 && !defined UNIX98 && !defined POSIX
36 function void _Exit (int)
38 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
39 function long a64l (const char*)
41 function void abort (void)
42 function int abs (int)
44 function {void *} aligned_alloc (size_t, size_t)
46 function int atexit (void(*)(void))
48 function int at_quick_exit (void (*) (void))
50 function double atof (const char*)
51 function int atoi (const char*)
52 function {long int} atol (const char*)
53 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
54 function {long long} atoll (const char*)
56 function {void*} bsearch (const void*, const void*, size_t, size_t, int(*)(const void*, const void*))
57 function {void*} calloc (size_t, size_t)
58 function div_t div (int, int)
59 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
60 function double drand48 (void)
62 #if defined XPG42 || defined UNIX98 || defined XOPEN2K
63 function {char*} ecvt (double, int, int*, int*)
65 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
66 function double erand48 (unsigned short int[3])
68 function void exit (int)
69 #if defined XPG42 || defined UNIX98 || defined XOPEN2K
70 function {char*} fcvt (double, int, int*, int*)
72 function void free (void*)
73 #if defined XPG42 || defined UNIX98 || defined XOPEN2K
74 function {char*} gcvt (double, int, char*)
76 function {char*} getenv (const char*)
77 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX
78 function int getsubopt (char**, char *const*, char**)
80 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
81 function int grantpt (int)
82 function {char*} initstate (unsigned int, char*, size_t)
84 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
85 function {long int} jrand48 (unsigned short int[3])
87 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
88 function {char*} l64a (long)
90 function {long int} labs (long int)
91 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
92 function void lcong48 (unsigned short int[7])
94 function ldiv_t ldiv (long int, long int)
95 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
96 function {long long} llabs (long long)
97 function lldiv_t lldiv (long long, long long)
99 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
100 function {long int} lrand48 (void)
102 function {void*} malloc (size_t)
103 function int mblen (const char*, size_t)
104 function size_t mbstowcs (wchar_t*, const char*, size_t)
105 function int mbtowc (wchar_t*, const char*, size_t)
106 #if defined XOPEN2K8 || defined POSIX2008
107 function {char*} mkdtemp (char*)
109 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
110 function {char*} mktemp (char*)
112 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX
113 function int mkstemp (char*)
115 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
116 function {long int} mrand48 (void)
117 function {long int} nrand48 (unsigned short int[3])
119 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
120 function int posix_memalign (void**, size_t, size_t)
122 #if defined XOPEN2K || defined XOPEN2K8
123 function int posix_openpt (int)
125 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
126 function {char*} ptsname (int)
128 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
129 function int putenv (char*)
131 function void qsort (void*, size_t, size_t, int(*)(const void*, const void*))
133 function void quick_exit (int)
135 function int rand (void)
136 #if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
137 function int rand_r (unsigned int*)
139 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
140 function long random (void)
142 function {void*} realloc (void*, size_t)
143 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
144 function {char*} realpath (const char*, char*)
146 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
147 function {unsigned short int*} seed48 (unsigned short int[3])
149 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
150 function int setenv (const char*, const char*, int)
152 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
153 function {char*} setstate (char*)
155 function void srand (unsigned int)
156 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
157 function void srand48 (long int)
159 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
160 function void srandom (unsigned)
162 function double strtod (const char*, char**)
163 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
164 function float strtof (const char*, char**)
165 function {long double} strtold (const char*, char**)
167 function {long int} strtol (const char*, char**, int)
168 function {unsigned long int} strtoul (const char*, char**, int)
169 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
170 function {long long int} strtoll (const char*, char**, int)
171 function {unsigned long long int} strtoull (const char*, char**, int)
173 function int system (const char*)
174 #if defined XPG42 || defined UNIX98
175 function int ttyslot (void)
177 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
178 function int unlockpt (int)
180 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
181 function int unsetenv (const char*)
183 #if defined XPG42 || defined UNIX98
184 function {void*} valloc (size_t)
186 function size_t wcstombs (char*, const wchar_t*, size_t)
187 function int wctomb (char*, wchar_t)
189 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
190 allow-header stddef.h
191 allow-header limits.h
193 allow-header sys/wait.h
196 allow str[abcdefghijklmnopqrstuvwxyz]*
197 #if !defined ISO && !defined ISO99 && !defined ISO11