Update.
[glibc.git] / conform / data / unistd.h-data
blob9211402831b6f2385c8c6fdc52531fd207aac7a3
1 #ifndef ISO
2 optional-constant _POSIX_VERSION
3 optional-constant _POSIX2_C_VERSION
4 optional-constant _XOPEN_VERSION
5 optional-constant _XOPEN_XCU_VERSION
7 optional-constant _POSIX2_C_BIND
8 optional-constant _POSIX2_CHAR_TERM
9 optional-constant _POSIX2_LOCALEDEF
10 optional-constant _POSIX2_UPE
11 optional-constant _POSIX2_VERSION
13 optional-constant _XOPEN_XPG2
14 optional-constant _XOPEN_XPG3
15 optional-constant _XOPEN_XPG4
16 optional-constant _XOPEN_UNIX
18 optional-constant _POSIX_ADVISORY_INFO
19 optional-constant _POSIX_ASYNCHRONOUS_IO
20 optional-constant _POSIX_BARRIERS
21 optional-constant _POSIX_CHOWN_RESTRICTED
22 optional-constant _POSIX_CLOCK_SELECTION
23 optional-constant _POSIX_CPUTIME
24 optional-constant _POSIX_NO_TRUNC
25 optional-constant _POSIX_VDISABLE
26 optional-constant _POSIX_SAVED_IDS
27 optional-constant _POSIX_JOB_CONTROL
28 optional-constant _POSIX_MONOTONIC_CLOCK
29 optional-constant _POSIX_READER_WRITER_LOCKS
30 optional-constant _POSIX_SHELL
31 optional-constant _POSIX_SPAWN
32 optional-constant _POSIX_SPIN_LOCKS
33 optional-constant _POSIX_SPORADIC_SERVER
34 optional-constant _POSIX_THREAD_CPUTIME
35 optional-constant _POSIX_TYPED_MEMORY_OBJECTS
37 optional-constant _POSIX_THREADS
38 optional-constant _POSIX_THREAD_ATTR_STACKADDR
39 optional-constant _POSIX_THREAD_ATTR_STACKSIZE
40 optional-constant _POSIX_THREAD_PROCESS_SHARED
41 optional-constant _POSIX_THREAD_SAFE_FUNCTIONS
42 optional-constant _POSIX_THREAD_SPORADIC_SERVER
44 optional-constant _POSIX2_C_DEV
45 optional-constant _POSIX2_FORT_DEV
46 optional-constant _POSIX2_FORT_RUN
47 optional-constant _POSIX2_SW_DEV
48 optional-constant _XOPEN_CRYPT
49 optional-constant _XOPEN_ENH_I18N
50 optional-constant _XOPEN_LEGACY
51 optional-constant _XOPEN_REALTIME
52 optional-constant _XOPEN_REALTIME_THREADS
53 optional-constant _XOPEN_SHM
54 optional-constant _XOPEN_STREAMS
55 allow _XBS5_ILP32_OFF32
56 allow _XBS5_ILP32_OFBIG
57 allow _XBS5_LP64_OFF64
58 allow _XBS5_LPBIG_OFFBIG
59 optional-constant _POSIX_ASYNCHRONOUS_IO
60 optional-constant _POSIX_MEMLOCK
61 optional-constant _POSIX_MEMLOCK_RANGE
62 optional-constant _POSIX_MESSAGE_PASSING
63 optional-constant _POSIX_PRIORITY_SCHEDULING
64 optional-constant _POSIX_REALTIME_SIGNALS
65 optional-constant _POSIX_SEMAPHORES
66 optional-constant _POSIX_SHARED_MEMORY_OBJECTS
67 optional-constant _POSIX_SYNCHRONIZED_IO
68 optional-constant _POSIX_TIMERS
69 optional-constant _POSIX_TIMEOUTS
71 optional-constant _POSIX_FSYNC
72 optional-constant _POSIX_MAPPED_FILES
73 optional-constant _POSIX_MEMORY_PROTECTION
75 optional-constant _POSIX_PRIORITIZED_IO
77 optional-constant _POSIX_THREAD_PRIORITY_SCHEDULING
78 optional-constant _POSIX_THREAD_PRIO_INHERIT
79 optional-constant _POSIX_THREAD_PRIO_PROTECT
81 optional-constant _POSIX_ASYNC_IO
82 optional-constant _POSIX_PRIO_IO
83 optional-constant _POSIX_SYNC_IO
85 optional-constant _POSIX2_PBS
86 optional-constant _POSIX2_PBS_ACCOUNTING
87 optional-constant _POSIX2_PBS_CHECKPOINT
88 optional-constant _POSIX2_PBS_LOCATE
89 optional-constant _POSIX2_PBS_MESSAGE
90 optional-constant _POSIX2_PBS_TRACK
92 constant NULL
94 constant R_OK
95 constant W_OK
96 constant X_OK
97 constant F_OK
99 constant _CS_PATH
100 constant _CS_XBS5_ILP32_OFF32_CFLAGS
101 constant _CS_XBS5_ILP32_OFF32_LDFLAGS
102 constant _CS_XBS5_ILP32_OFF32_LIBS
103 constant _CS_XBS5_ILP32_OFF32_LINTFLAGS
104 constant _CS_XBS5_ILP32_OFFBIG_CFLAGS
105 constant _CS_XBS5_ILP32_OFFBIG_LDFLAGS
106 constant _CS_XBS5_ILP32_OFFBIG_LIBS
107 constant _CS_XBS5_ILP32_OFFBIG_LINTFLAGS
108 constant _CS_XBS5_LP64_OFF64_CFLAGS
109 constant _CS_XBS5_LP64_OFF64_LDFLAGS
110 constant _CS_XBS5_LP64_OFF64_LIBS
111 constant _CS_XBS5_LP64_OFF64_LINTFLAGS
112 constant _CS_XBS5_LPBIG_OFFBIG_CFLAGS
113 constant _CS_XBS5_LPBIG_OFFBIG_LDFLAGS
114 constant _CS_XBS5_LPBIG_OFFBIG_LIBS
115 constant _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS
117 constant SEEK_SET
118 constant SEEK_CUR
119 constant SEEK_END
121 constant _SC_2_C_BIND
122 constant _SC_2_C_DEV
123 constant _SC_2_C_VERSION
124 constant _SC_2_FORT_DEV
125 constant _SC_2_FORT_RUN
126 constant _SC_2_LOCALEDEF
127 constant _SC_2_PBS
128 constant _SC_2_PBS_ACCOUNTING
129 constant _SC_2_PBS_CHECKPOINT
130 constant _SC_2_PBS_LOCATE
131 constant _SC_2_PBS_MESSAGE
132 constant _SC_2_PBS_TRACK
133 constant _SC_2_SW_DEV
134 constant _SC_2_UPE
135 constant _SC_2_VERSION
136 constant _SC_ARG_MAX
137 constant _SC_AIO_LISTIO_MAX
138 constant _SC_AIO_MAX
139 constant _SC_AIO_PRIO_DELTA_MAX
140 constant _SC_ASYNCHRONOUS_IO
141 constant _SC_ATEXIT_MAX
142 constant _SC_BARRIERS
143 constant _SC_BASE
144 constant _SC_BC_BASE_MAX
145 constant _SC_BC_DIM_MAX
146 constant _SC_BC_SCALE_MAX
147 constant _SC_BC_STRING_MAX
148 constant _SC_CHILD_MAX
149 constant _SC_CLK_TCK
150 constant _SC_CLOCK_SELECTION
151 constant _SC_COLL_WEIGHTS_MAX
152 constant _SC_DELAYTIMER_MAX
153 constant _SC_DEVICE_IO
154 constant _SC_DEVICE_SPECIFIC
155 constant _SC_DEVICE_SPECIFIC_R
156 constant _SC_EXPR_NEST_MAX
157 constant _SC_FD_MGMT
158 constant _SC_FIFO
159 constant _SC_FILE_ATTRIBUTES
160 constant _SC_FILE_LOCKING
161 constant _SC_FILE_SYSTEM
162 constant _SC_FSYNC
163 constant _SC_GETGR_R_SIZE_MAX
164 constant _SC_GETPW_R_SIZE_MAX
165 constant _SC_IOV_MAX
166 constant _SC_JOB_CONTROL
167 constant _SC_LINE_MAX
168 constant _SC_LOGIN_NAME_MAX
169 constant _SC_MAPPED_FILES
170 constant _SC_MEMLOCK
171 constant _SC_MEMLOCK_RANGE
172 constant _SC_MEMORY_PROTECTION
173 constant _SC_MESSAGE_PASSING
174 constant _SC_MONOTONIC_CLOCK
175 constant _SC_MQ_OPEN_MAX
176 constant _SC_MQ_PRIO_MAX
177 constant _SC_MULTIPLE_PROCESS
178 constant _SC_NETWORKING
179 constant _SC_NGROUPS_MAX
180 constant _SC_OPEN_MAX
181 constant _SC_PAGESIZE
182 constant _SC_PAGE_SIZE
183 constant _SC_PASS_MAX
184 constant _SC_PIPE
185 constant _SC_PRIORITIZED_IO
186 constant _SC_PRIORITY_SCHEDULING
187 constant _SC_RE_DUP_MAX
188 constant _SC_READER_WRITER_LOCKS
189 constant _SC_REALTIME_SIGNALS
190 constant _SC_REGEXP
191 constant _SC_RTSIG_MAX
192 constant _SC_SAVED_IDS
193 constant _SC_SEMAPHORES
194 constant _SC_SEM_NSEMS_MAX
195 constant _SC_SEM_VALUE_MAX
196 constant _SC_SHARED_MEMORY_OBJECTS
197 constant _SC_SHELL
198 constant _SC_SIGNALS
199 constant _SC_SIGQUEUE_MAX
200 constant _SC_SINGLE_PROCESS
201 constant _SC_SPIN_LOCKS
202 constant _SC_STREAM_MAX
203 constant _SC_SYNCHRONIZED_IO
204 constant _SC_THREADS
205 constant _SC_THREAD_ATTR_STACKADDR
206 constant _SC_THREAD_ATTR_STACKSIZE
207 constant _SC_THREAD_DESTRUCTOR_ITERATIONS
208 constant _SC_THREAD_KEYS_MAX
209 constant _SC_THREAD_PRIORITY_SCHEDULING
210 constant _SC_THREAD_PRIO_INHERIT
211 constant _SC_THREAD_PRIO_PROTECT
212 constant _SC_THREAD_PROCESS_SHARED
213 constant _SC_THREAD_SAFE_FUNCTIONS
214 constant _SC_THREAD_STACK_MIN
215 constant _SC_THREAD_THREADS_MAX
216 constant _SC_TIMERS
217 constant _SC_TIMER_MAX
218 constant _SC_TTY_NAME_MAX
219 constant _SC_TYPED_MEMORY_OBJECTS
220 constant _SC_TZNAME_MAX
221 constant _SC_USER_GROUPS
222 constant _SC_USER_GROUPS_R
223 constant _SC_VERSION
224 constant _SC_XOPEN_VERSION
225 constant _SC_XOPEN_CRYPT
226 constant _SC_XOPEN_ENH_I18N
227 constant _SC_XOPEN_SHM
228 constant _SC_XOPEN_UNIX
229 constant _SC_XOPEN_XCU_VERSION
230 constant _SC_XOPEN_LEGACY
231 constant _SC_XOPEN_REALTIME
232 constant _SC_XOPEN_REALTIME_THREADS
233 constant _SC_STREAMS
234 constant _SC_XBS5_ILP32_OFF32
235 constant _SC_XBS5_ILP32_OFFBIG
236 constant _SC_XBS5_LP64_OFF64
237 constant _SC_XBS5_LPBIG_OFFBIG
239 constant F_LOCK
240 constant F_ULOCK
241 constant F_TEST
242 constant F_TLOCK
244 constant _PC_ASYNC_IO
245 constant _PC_CHOWN_RESTRICTED
246 constant _PC_FILESIZEBITS
247 constant _PC_LINK_MAX
248 constant _PC_MAX_CANON
249 constant _PC_MAX_INPUT
250 constant _PC_NAME_MAX
251 constant _PC_NO_TRUNC
252 constant _PC_PATH_MAX
253 constant _PC_PIPE_BUF
254 constant _PC_PRIO_IO
255 constant _PC_REC_INCR_XFER_SIZE
256 constant _PC_REC_MAX_XFER_SIZE
257 constant _PC_REC_MIN_XFER_SIZE
258 constant _PC_REC_XFER_ALIGN
259 constant _PC_SYNC_IO
260 constant _PC_VDISABLE
262 constant STDIN_FILENO
263 constant STDOUT_FILENO
264 constant STDERR_FILENO
266 type size_t
267 type ssize_t
268 type uid_t
269 type gid_t
270 type off_t
271 type pid_t
273 type useconds_t
275 type intptr_t
277 function int access (const char*, int)
278 function {unsigned int} alarm (unsigned int)
279 function int brk (void*)
280 function int chdir (const char*)
281 #if defined XPG3 || defined XPG4 || defined UNIX98
282 function int chroot (const char*)
283 #endif
284 function int chown (const char*, uid_t, gid_t)
285 function int close (int)
286 function size_t confstr (int, char*, size_t)
287 function {char*} crypt (const char*, const char*)
288 function {char*} ctermid (char*)
289 #if defined XPG3 || defined XPG4 || defined UNIX98
290 function {char*} cuserid (char*)
291 #endif
292 function int dup (int)
293 function int dup2 (int, int)
294 function void encrypt (char[64], int)
295 function int execl (const char*, const char*, ...)
296 function int execle (const char*, const char*, ...)
297 function int execlp (const char*, const char*, ...)
298 function int execv (const char*, char *const[])
299 function int execve (const char*, char *const[], char *const[])
300 function int execvp (const char*, char *const[])
301 function void _exit (int)
302 function int fchown (int, uid_t, gid_t)
303 function int fchdir (int)
304 function int fdatasync (int)
305 function pid_t fork (void)
306 function {long int} fpathconf (int, int)
307 function int fsync (int)
308 function int ftruncate (int, off_t)
309 function {char*} getcwd (char*, size_t)
310 function int getdtablesize (void)
311 function gid_t getegid (void)
312 function uid_t geteuid (void)
313 function gid_t getgid (void)
314 function int getgroups (int, gid_t[])
315 function long gethostid (void)
316 function {char*} getlogin (void)
317 function int getlogin_r (char*, size_t)
318 function int getopt (int, char*const[], const char*)
319 function int getpagesize (void)
320 #if defined XPG3 || defined XPG4 || defined UNIX98
321 function {char*} getpass (const char*)
322 #endif
323 function pid_t getpgid (pid_t)
324 function pid_t getpgrp (void)
325 function pid_t getpid (void)
326 function pid_t getppid (void)
327 function pid_t getsid (pid_t)
328 function uid_t getuid (void)
329 function {char*} getwd (char*)
330 function int isatty (int)
331 function int lchown (const char*, uid_t, gid_t)
332 function int link (const char*, const char*)
333 function int lockf (int, int, off_t)
334 function off_t lseek (int, off_t, int)
335 function int nice (int)
336 function {long int} pathconf (const char*, int)
337 function int pause (void)
338 function int pipe (int[2])
339 function ssize_t pread (int, void*, size_t, off_t)
340 function int pthread_atfork (void(*)(void), void(*)(void), void(*)(void))
341 function ssize_t pwrite (int, const void*, size_t, off_t)
342 function ssize_t read (int, void*, size_t)
343 function int readlink (const char*, char*, size_t)
344 function int rmdir (const char*)
345 function {void*} sbrk (intptr_t)
346 function int setegid (gid_t)
347 function int seteuid (uid_t)
348 function int setgid (gid_t)
349 function int setpgid (pid_t, pid_t)
350 function pid_t setpgrp (void)
351 function int setregid (gid_t, gid_t)
352 function int setreuid (uid_t, uid_t)
353 function pid_t setsid (void)
354 function int setuid (uid_t)
355 function {unsigned int} sleep (unsigned int)
356 function void swab (const void*, void*, ssize_t)
357 function int symlink (const char*, const char*)
358 function void sync (void)
359 function {long int} sysconf (int)
360 function pid_t tcgetpgrp (int)
361 function int tcsetpgrp (int, pid_t)
362 function int truncate (const char*, off_t)
363 function {char*} ttyname (int)
364 function int ttyname_r (int, char*, size_t)
365 function useconds_t ualarm (useconds_t, useconds_t)
366 function int unlink (const char*)
367 function int usleep (useconds_t)
368 function pid_t vfork (void)
369 function ssize_t write (int, const void*, size_t)
371 variable {char*} optarg
372 variable int optind
373 variable int opterr
374 variable int optopt
376 allow *_t
377 #endif