Minor cleanups in libio/iofdopen.c
[glibc.git] / conform / data / stdlib.h-data
blobabe296a2ab05ba0b8add886305bf7c7e6f2bbe5f
1 type div_t
2 element div_t int quot
3 element div_t int rem
4 type ldiv_t
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
13 macro MB_CUR_MAX
15 #if defined ISO99 || defined ISO11 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
16 type lldiv_t
17 element lldiv_t {long long} quot
18 element lldiv_t {long long} rem
19 #endif
20 type size_t
21 type wchar_t
23 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
24 constant WNOHANG
25 constant WUNTRACED
27 macro WEXITSTATUS
28 macro WIFEXITED
29 macro WIFSIGNALED
30 macro WIFSTOPPED
31 macro WSTOPSIG
32 macro WTERMSIG
33 #endif
35 #if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98 && !defined POSIX
36 function void _Exit (int)
37 #endif
38 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
39 function long a64l (const char*)
40 #endif
41 function void abort (void)
42 function int abs (int)
43 #if defined ISO11
44 function {void *} aligned_alloc (size_t, size_t)
45 #endif
46 function int atexit (void(*)(void))
47 #if defined ISO11
48 function int at_quick_exit (void (*) (void))
49 #endif
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 XPG3 && !defined XPG4 && !defined UNIX98
54 function {long long} atoll (const char*)
55 #endif
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)
61 #endif
62 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
63 function {char*} ecvt (double, int, int*, int*)
64 #endif
65 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
66 function double erand48 (unsigned short int[3])
67 #endif
68 function void exit (int)
69 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
70 function {char*} fcvt (double, int, int*, int*)
71 #endif
72 function void free (void*)
73 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
74 function {char*} gcvt (double, int, char*)
75 #endif
76 function {char*} getenv (const char*)
77 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
78 function int getsubopt (char**, char *const*, char**)
79 #endif
80 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
81 function int grantpt (int)
82 function {char*} initstate (unsigned int, char*, size_t)
83 function {long int} jrand48 (unsigned short int[3])
84 function {char*} l64a (long)
85 #endif
86 function {long int} labs (long int)
87 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
88 function void lcong48 (unsigned short int[7])
89 #endif
90 function ldiv_t ldiv (long int, long int)
91 #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
92 function {long long} llabs (long long)
93 function lldiv_t lldiv (long long, long long)
94 #endif
95 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
96 function {long int} lrand48 (void)
97 #endif
98 function {void*} malloc (size_t)
99 function int mblen (const char*, size_t)
100 function size_t mbstowcs (wchar_t*, const char*, size_t)
101 function int mbtowc (wchar_t*, const char*, size_t)
102 #if defined XOPEN2K8 || defined POSIX2008
103 function {char*} mkdtemp (char*)
104 #endif
105 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
106 function {char*} mktemp (char*)
107 #endif
108 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
109 function int mkstemp (char*)
110 #endif
111 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
112 function {long int} mrand48 (void)
113 function {long int} nrand48 (unsigned short int[3])
114 #endif
115 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
116 function int posix_memalign (void**, size_t, size_t)
117 #endif
118 #if defined XOPEN2K || defined XOPEN2K8
119 function int posix_openpt (int)
120 #endif
121 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
122 function {char*} ptsname (int)
123 function int putenv (char*)
124 #endif
125 function void qsort (void*, size_t, size_t, int(*)(const void*, const void*))
126 #if defined ISO11
127 function void quick_exit (int)
128 #endif
129 function int rand (void)
130 #if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
131 function int rand_r (unsigned int*)
132 #endif
133 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
134 function long random (void)
135 #endif
136 function {void*} realloc (void*, size_t)
137 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
138 function {char*} realpath (const char*, char*)
139 function {unsigned short int*} seed48 (unsigned short int[3])
140 #endif
141 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
142 function int setenv (const char*, const char*, int)
143 #endif
144 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
145 function void setkey (const char*)
146 function {char*} setstate (char*)
147 #endif
148 function void srand (unsigned int)
149 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
150 function void srand48 (long int)
151 function void srandom (unsigned)
152 #endif
153 function double strtod (const char*, char**)
154 #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
155 function float strtof (const char*, char**)
156 function {long double} strtold (const char*, char**)
157 #endif
158 function {long int} strtol (const char*, char**, int)
159 function {unsigned long int} strtoul (const char*, char**, int)
160 #if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
161 function {long long int} strtoll (const char*, char**, int)
162 function {unsigned long long int} strtoull (const char*, char**, int)
163 #endif
164 function int system (const char*)
165 #if defined XPG3 || defined XPG4 || defined UNIX98
166 function int ttyslot (void)
167 #endif
168 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
169 function int unlockpt (int)
170 #endif
171 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
172 function int unsetenv (const char*)
173 #endif
174 #if defined XPG3 || defined XPG4 || defined UNIX98
175 function {void*} valloc (size_t)
176 #endif
177 function size_t wcstombs (char*, const wchar_t*, size_t)
178 function int wctomb (char*, wchar_t)
180 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
181 allow-header stddef.h
182 allow-header limits.h
183 allow-header math.h
184 allow-header sys/wait.h
185 #endif
187 allow str[abcdefghijklmnopqrstuvwxyz]*
188 #if !defined ISO && !defined ISO99 && !defined ISO11
189 allow *_t
190 #endif