support_become_root: Enable file creation in user namespaces
[glibc.git] / conform / data / stdlib.h-data
blobd8fcccc2fbabb0b21c02c337a15a603ca7d9cb5c
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 XPG4 && !defined XPG42 && !defined UNIX98 && !defined POSIX
36 function void _Exit (int)
37 #endif
38 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !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 XPG4 && !defined XPG42 && !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 XPG42 || 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 XPG42 || defined UNIX98 || defined XOPEN2K
70 function {char*} fcvt (double, int, int*, int*)
71 #endif
72 function void free (void*)
73 #if defined XPG42 || 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 XPG4 && !defined POSIX
78 function int getsubopt (char**, char *const*, char**)
79 #endif
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)
83 #endif
84 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
85 function {long int} jrand48 (unsigned short int[3])
86 #endif
87 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
88 function {char*} l64a (long)
89 #endif
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])
93 #endif
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)
98 #endif
99 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
100 function {long int} lrand48 (void)
101 #endif
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*)
108 #endif
109 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
110 function {char*} mktemp (char*)
111 #endif
112 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX
113 function int mkstemp (char*)
114 #endif
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])
118 #endif
119 #if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
120 function int posix_memalign (void**, size_t, size_t)
121 #endif
122 #if defined XOPEN2K || defined XOPEN2K8
123 function int posix_openpt (int)
124 #endif
125 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
126 function {char*} ptsname (int)
127 #endif
128 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
129 function int putenv (char*)
130 #endif
131 function void qsort (void*, size_t, size_t, int(*)(const void*, const void*))
132 #if defined ISO11
133 function void quick_exit (int)
134 #endif
135 function int rand (void)
136 #if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
137 function int rand_r (unsigned int*)
138 #endif
139 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
140 function long random (void)
141 #endif
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*)
145 #endif
146 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
147 function {unsigned short int*} seed48 (unsigned short int[3])
148 #endif
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)
151 #endif
152 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
153 function void setkey (const char*)
154 #endif
155 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
156 function {char*} setstate (char*)
157 #endif
158 function void srand (unsigned int)
159 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
160 function void srand48 (long int)
161 #endif
162 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
163 function void srandom (unsigned)
164 #endif
165 function double strtod (const char*, char**)
166 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
167 function float strtof (const char*, char**)
168 function {long double} strtold (const char*, char**)
169 #endif
170 function {long int} strtol (const char*, char**, int)
171 function {unsigned long int} strtoul (const char*, char**, int)
172 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
173 function {long long int} strtoll (const char*, char**, int)
174 function {unsigned long long int} strtoull (const char*, char**, int)
175 #endif
176 function int system (const char*)
177 #if defined XPG42 || defined UNIX98
178 function int ttyslot (void)
179 #endif
180 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
181 function int unlockpt (int)
182 #endif
183 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
184 function int unsetenv (const char*)
185 #endif
186 #if defined XPG42 || defined UNIX98
187 function {void*} valloc (size_t)
188 #endif
189 function size_t wcstombs (char*, const wchar_t*, size_t)
190 function int wctomb (char*, wchar_t)
192 #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
193 allow-header stddef.h
194 allow-header limits.h
195 allow-header math.h
196 allow-header sys/wait.h
197 #endif
199 allow str[abcdefghijklmnopqrstuvwxyz]*
200 #if !defined ISO && !defined ISO99 && !defined ISO11
201 allow *_t
202 #endif