support_become_root: Enable file creation in user namespaces
[glibc.git] / conform / data / unistd.h-data
blobddf4f251326b66bf310eafebf7b0ac80bf126573
1 #if !defined ISO && !defined ISO99 && !defined ISO11
2 #ifdef POSIX
3 # define uid_t __uid_t
4 # define gid_t __gid_t
5 # define off_t __off_t
6 # define pid_t __pid_t
7 #endif
9 constant _POSIX_VERSION
10 #if defined POSIX || defined XPG4 || defined XPG42 || defined UNIX98
11 constant _POSIX2_C_VERSION
12 #endif
13 #ifndef POSIX
14 optional-constant _XOPEN_VERSION
15 optional-constant _XOPEN_XCU_VERSION
16 #endif
18 #ifndef POSIX
19 optional-constant _POSIX2_C_BIND
20 #endif
21 optional-constant _POSIX2_CHAR_TERM
22 optional-constant _POSIX2_LOCALEDEF
23 optional-constant _POSIX2_UPE
24 #ifndef POSIX
25 optional-constant _POSIX2_VERSION
26 #endif
28 #ifndef POSIX
29 optional-constant _XOPEN_XPG2
30 optional-constant _XOPEN_XPG3
31 optional-constant _XOPEN_XPG4
32 optional-constant _XOPEN_UNIX
33 #endif
35 #ifndef POSIX
36 optional-constant _POSIX_ADVISORY_INFO
37 #endif
38 optional-constant _POSIX_ASYNCHRONOUS_IO
39 #ifndef POSIX
40 optional-constant _POSIX_BARRIERS
41 #endif
42 optional-constant _POSIX_CHOWN_RESTRICTED
43 #ifndef POSIX
44 optional-constant _POSIX_CLOCK_SELECTION
45 optional-constant _POSIX_CPUTIME
46 #endif
47 optional-constant _POSIX_NO_TRUNC
48 optional-constant _POSIX_VDISABLE
49 optional-constant _POSIX_SAVED_IDS
50 optional-constant _POSIX_JOB_CONTROL
51 #ifndef POSIX
52 optional-constant _POSIX_MONOTONIC_CLOCK
53 optional-constant _POSIX_READER_WRITER_LOCKS
54 optional-constant _POSIX_SHELL
55 optional-constant _POSIX_SPAWN
56 optional-constant _POSIX_SPIN_LOCKS
57 optional-constant _POSIX_SPORADIC_SERVER
58 optional-constant _POSIX_THREAD_CPUTIME
59 optional-constant _POSIX_TYPED_MEMORY_OBJECTS
60 #endif
62 optional-constant _POSIX_THREADS
63 optional-constant _POSIX_THREAD_ATTR_STACKADDR
64 optional-constant _POSIX_THREAD_ATTR_STACKSIZE
65 optional-constant _POSIX_THREAD_PROCESS_SHARED
66 optional-constant _POSIX_THREAD_SAFE_FUNCTIONS
67 #ifndef POSIX
68 optional-constant _POSIX_THREAD_SPORADIC_SERVER
69 #endif
71 # ifdef XOPEN2K
72 optional-constant _POSIX_V6_ILP32_OFF32
73 optional-constant _POSIX_V6_ILP32_OFFBIG
74 optional-constant _POSIX_V6_LP64_OFF64
75 optional-constant _POSIX_V6_LPBIG_OFFBIG
76 # endif
77 # if defined XOPEN2K8 || defined POSIX2008
78 optional-constant _POSIX_V7_ILP32_OFF32
79 optional-constant _POSIX_V7_ILP32_OFFBIG
80 optional-constant _POSIX_V7_LP64_OFF64
81 optional-constant _POSIX_V7_LPBIG_OFFBIG
82 # endif
84 optional-constant _POSIX2_C_DEV
85 optional-constant _POSIX2_FORT_DEV
86 optional-constant _POSIX2_FORT_RUN
87 optional-constant _POSIX2_SW_DEV
88 # if !defined POSIX && !defined POSIX2008
89 optional-constant _XOPEN_CRYPT
90 optional-constant _XOPEN_ENH_I18N
91 optional-constant _XOPEN_LEGACY
92 optional-constant _XOPEN_REALTIME
93 optional-constant _XOPEN_REALTIME_THREADS
94 optional-constant _XOPEN_SHM
95 optional-constant _XOPEN_STREAMS
96 # endif
97 # ifndef POSIX
98 allow _XBS5_ILP32_OFF32
99 allow _XBS5_ILP32_OFBIG
100 allow _XBS5_LP64_OFF64
101 allow _XBS5_LPBIG_OFFBIG
102 #endif
103 optional-constant _POSIX_MEMLOCK
104 optional-constant _POSIX_MEMLOCK_RANGE
105 optional-constant _POSIX_MESSAGE_PASSING
106 optional-constant _POSIX_PRIORITY_SCHEDULING
107 optional-constant _POSIX_REALTIME_SIGNALS
108 optional-constant _POSIX_SEMAPHORES
109 optional-constant _POSIX_SHARED_MEMORY_OBJECTS
110 optional-constant _POSIX_SYNCHRONIZED_IO
111 optional-constant _POSIX_TIMERS
112 #ifndef POSIX
113 optional-constant _POSIX_TIMEOUTS
114 #endif
116 optional-constant _POSIX_FSYNC
117 optional-constant _POSIX_MAPPED_FILES
118 optional-constant _POSIX_MEMORY_PROTECTION
120 optional-constant _POSIX_PRIORITIZED_IO
122 optional-constant _POSIX_THREAD_PRIORITY_SCHEDULING
123 optional-constant _POSIX_THREAD_PRIO_INHERIT
124 optional-constant _POSIX_THREAD_PRIO_PROTECT
126 optional-constant _POSIX_ASYNC_IO
127 optional-constant _POSIX_PRIO_IO
128 optional-constant _POSIX_SYNC_IO
130 #ifndef POSIX
131 optional-constant _POSIX2_PBS
132 optional-constant _POSIX2_PBS_ACCOUNTING
133 optional-constant _POSIX2_PBS_CHECKPOINT
134 optional-constant _POSIX2_PBS_LOCATE
135 optional-constant _POSIX2_PBS_MESSAGE
136 optional-constant _POSIX2_PBS_TRACK
137 #endif
139 #ifndef POSIX
140 optional-constant _POSIX_TIMESTAMP_RESOLUTION
141 #endif
143 constant NULL
145 constant R_OK
146 constant W_OK
147 constant X_OK
148 constant F_OK
150 constant _CS_PATH
151 #ifndef POSIX
152 constant _CS_XBS5_ILP32_OFF32_CFLAGS
153 constant _CS_XBS5_ILP32_OFF32_LDFLAGS
154 constant _CS_XBS5_ILP32_OFF32_LIBS
155 constant _CS_XBS5_ILP32_OFF32_LINTFLAGS
156 constant _CS_XBS5_ILP32_OFFBIG_CFLAGS
157 constant _CS_XBS5_ILP32_OFFBIG_LDFLAGS
158 constant _CS_XBS5_ILP32_OFFBIG_LIBS
159 constant _CS_XBS5_ILP32_OFFBIG_LINTFLAGS
160 constant _CS_XBS5_LP64_OFF64_CFLAGS
161 constant _CS_XBS5_LP64_OFF64_LDFLAGS
162 constant _CS_XBS5_LP64_OFF64_LIBS
163 constant _CS_XBS5_LP64_OFF64_LINTFLAGS
164 constant _CS_XBS5_LPBIG_OFFBIG_CFLAGS
165 constant _CS_XBS5_LPBIG_OFFBIG_LDFLAGS
166 constant _CS_XBS5_LPBIG_OFFBIG_LIBS
167 constant _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS
168 #endif
170 constant SEEK_SET
171 constant SEEK_CUR
172 constant SEEK_END
174 #ifndef POSIX
175 constant _SC_2_C_BIND
176 #endif
177 constant _SC_2_C_DEV
178 #ifndef POSIX
179 constant _SC_2_C_VERSION
180 #endif
181 constant _SC_2_CHAR_TERM
182 constant _SC_2_FORT_DEV
183 constant _SC_2_FORT_RUN
184 constant _SC_2_LOCALEDEF
185 #ifndef POSIX
186 constant _SC_2_PBS
187 constant _SC_2_PBS_ACCOUNTING
188 constant _SC_2_PBS_CHECKPOINT
189 constant _SC_2_PBS_LOCATE
190 constant _SC_2_PBS_MESSAGE
191 constant _SC_2_PBS_TRACK
192 #endif
193 constant _SC_2_SW_DEV
194 constant _SC_2_UPE
195 constant _SC_2_VERSION
196 constant _SC_ARG_MAX
197 constant _SC_AIO_LISTIO_MAX
198 constant _SC_AIO_MAX
199 constant _SC_AIO_PRIO_DELTA_MAX
200 constant _SC_ASYNCHRONOUS_IO
201 #ifndef POSIX
202 constant _SC_ATEXIT_MAX
203 constant _SC_BARRIERS
204 constant _SC_BASE
205 #endif
206 constant _SC_BC_BASE_MAX
207 constant _SC_BC_DIM_MAX
208 constant _SC_BC_SCALE_MAX
209 constant _SC_BC_STRING_MAX
210 constant _SC_CHILD_MAX
211 constant _SC_CLK_TCK
212 #ifndef POSIX
213 constant _SC_CLOCK_SELECTION
214 #endif
215 constant _SC_COLL_WEIGHTS_MAX
216 constant _SC_DELAYTIMER_MAX
217 #ifndef POSIX
218 constant _SC_DEVICE_IO
219 constant _SC_DEVICE_SPECIFIC
220 constant _SC_DEVICE_SPECIFIC_R
221 #endif
222 constant _SC_EXPR_NEST_MAX
223 #ifndef POSIX
224 constant _SC_FD_MGMT
225 constant _SC_FIFO
226 constant _SC_FILE_ATTRIBUTES
227 constant _SC_FILE_LOCKING
228 constant _SC_FILE_SYSTEM
229 #endif
230 constant _SC_FSYNC
231 constant _SC_GETGR_R_SIZE_MAX
232 constant _SC_GETPW_R_SIZE_MAX
233 #ifndef POSIX
234 constant _SC_IOV_MAX
235 #endif
236 constant _SC_JOB_CONTROL
237 constant _SC_LINE_MAX
238 constant _SC_LOGIN_NAME_MAX
239 constant _SC_MAPPED_FILES
240 constant _SC_MEMLOCK
241 constant _SC_MEMLOCK_RANGE
242 constant _SC_MEMORY_PROTECTION
243 constant _SC_MESSAGE_PASSING
244 #ifndef POSIX
245 constant _SC_MONOTONIC_CLOCK
246 #endif
247 constant _SC_MQ_OPEN_MAX
248 constant _SC_MQ_PRIO_MAX
249 #ifndef POSIX
250 constant _SC_NETWORKING
251 #endif
252 constant _SC_NGROUPS_MAX
253 constant _SC_OPEN_MAX
254 constant _SC_PAGESIZE
255 #ifndef POSIX
256 constant _SC_PAGE_SIZE
257 constant _SC_PASS_MAX
258 constant _SC_PIPE
259 #endif
260 constant _SC_PRIORITIZED_IO
261 constant _SC_PRIORITY_SCHEDULING
262 constant _SC_RE_DUP_MAX
263 #ifndef POSIX
264 constant _SC_READER_WRITER_LOCKS
265 #endif
266 constant _SC_REALTIME_SIGNALS
267 #ifndef POSIX
268 constant _SC_REGEXP
269 #endif
270 constant _SC_RTSIG_MAX
271 constant _SC_SAVED_IDS
272 constant _SC_SEMAPHORES
273 constant _SC_SEM_NSEMS_MAX
274 constant _SC_SEM_VALUE_MAX
275 constant _SC_SHARED_MEMORY_OBJECTS
276 #ifndef POSIX
277 constant _SC_SHELL
278 constant _SC_SIGNALS
279 #endif
280 constant _SC_SIGQUEUE_MAX
281 #ifndef POSIX
282 constant _SC_SINGLE_PROCESS
283 constant _SC_SPIN_LOCKS
284 #endif
285 constant _SC_STREAM_MAX
286 constant _SC_SYNCHRONIZED_IO
287 constant _SC_THREADS
288 constant _SC_THREAD_ATTR_STACKADDR
289 constant _SC_THREAD_ATTR_STACKSIZE
290 constant _SC_THREAD_DESTRUCTOR_ITERATIONS
291 constant _SC_THREAD_KEYS_MAX
292 constant _SC_THREAD_PRIORITY_SCHEDULING
293 constant _SC_THREAD_PRIO_INHERIT
294 constant _SC_THREAD_PRIO_PROTECT
295 constant _SC_THREAD_PROCESS_SHARED
296 constant _SC_THREAD_SAFE_FUNCTIONS
297 constant _SC_THREAD_STACK_MIN
298 constant _SC_THREAD_THREADS_MAX
299 constant _SC_TIMERS
300 constant _SC_TIMER_MAX
301 constant _SC_TTY_NAME_MAX
302 #ifndef POSIX
303 constant _SC_TYPED_MEMORY_OBJECTS
304 #endif
305 constant _SC_TZNAME_MAX
306 #ifndef POSIX
307 constant _SC_USER_GROUPS
308 constant _SC_USER_GROUPS_R
309 #endif
310 # ifdef XOPEN2K
311 constant _SC_V6_ILP32_OFF32
312 constant _SC_V6_ILP32_OFFBIG
313 constant _SC_V6_LP64_OFF64
314 constant _SC_V6_LPBIG_OFFBIG
315 # endif
316 # if defined XOPEN2K8 || defined POSIX2008
317 constant _SC_V7_ILP32_OFF32
318 constant _SC_V7_ILP32_OFFBIG
319 constant _SC_V7_LP64_OFF64
320 constant _SC_V7_LPBIG_OFFBIG
321 # endif
322 constant _SC_VERSION
323 # if !defined POSIX && !defined POSIX2008
324 constant _SC_XOPEN_VERSION
325 constant _SC_XOPEN_CRYPT
326 constant _SC_XOPEN_ENH_I18N
327 constant _SC_XOPEN_SHM
328 constant _SC_XOPEN_UNIX
329 constant _SC_XOPEN_XCU_VERSION
330 constant _SC_XOPEN_LEGACY
331 constant _SC_XOPEN_REALTIME
332 constant _SC_XOPEN_REALTIME_THREADS
333 # endif
334 # ifndef POSIX
335 constant _SC_STREAMS
336 constant _SC_XBS5_ILP32_OFF32
337 constant _SC_XBS5_ILP32_OFFBIG
338 constant _SC_XBS5_LP64_OFF64
339 constant _SC_XBS5_LPBIG_OFFBIG
340 # endif
341 # ifdef XOPEN2K
342 constant _CS_POSIX_V6_ILP32_OFF32_CFLAGS
343 constant _CS_POSIX_V6_ILP32_OFF32_LDFLAGS
344 constant _CS_POSIX_V6_ILP32_OFF32_LIBS
345 constant _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
346 constant _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
347 constant _CS_POSIX_V6_ILP32_OFFBIG_LIBS
348 constant _CS_POSIX_V6_LP64_OFF64_CFLAGS
349 constant _CS_POSIX_V6_LP64_OFF64_LDFLAGS
350 constant _CS_POSIX_V6_LP64_OFF64_LIBS
351 constant _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
352 constant _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
353 constant _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
354 constant _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS
355 constant _CS_V6_ENV
356 # endif
357 # if defined XOPEN2K8 || defined POSIX2008
358 constant _CS_POSIX_V7_ILP32_OFF32_CFLAGS
359 constant _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
360 constant _CS_POSIX_V7_ILP32_OFF32_LIBS
361 constant _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
362 constant _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
363 constant _CS_POSIX_V7_ILP32_OFFBIG_LIBS
364 constant _CS_POSIX_V7_LP64_OFF64_CFLAGS
365 constant _CS_POSIX_V7_LP64_OFF64_LDFLAGS
366 constant _CS_POSIX_V7_LP64_OFF64_LIBS
367 constant _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
368 constant _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
369 constant _CS_POSIX_V7_LPBIG_OFFBIG_LIBS
370 constant _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS
371 constant _CS_V7_ENV
372 # endif
373 # ifndef POSIX
374 constant _SC_THREAD_ROBUST_PRIO_INHERIT
375 constant _SC_THREAD_ROBUST_PRIO_PROTECT
376 #endif
378 #if !defined XPG4 && !defined POSIX && !defined POSIX2008
379 constant F_LOCK
380 constant F_ULOCK
381 constant F_TEST
382 constant F_TLOCK
383 #endif
385 constant _PC_ASYNC_IO
386 constant _PC_CHOWN_RESTRICTED
387 #ifndef POSIX
388 constant _PC_FILESIZEBITS
389 #endif
390 constant _PC_LINK_MAX
391 constant _PC_MAX_CANON
392 constant _PC_MAX_INPUT
393 constant _PC_NAME_MAX
394 constant _PC_NO_TRUNC
395 constant _PC_PATH_MAX
396 constant _PC_PIPE_BUF
397 constant _PC_PRIO_IO
398 #ifndef POSIX
399 constant _PC_REC_INCR_XFER_SIZE
400 constant _PC_REC_MAX_XFER_SIZE
401 constant _PC_REC_MIN_XFER_SIZE
402 constant _PC_REC_XFER_ALIGN
403 #endif
404 constant _PC_SYNC_IO
405 constant _PC_VDISABLE
407 constant STDIN_FILENO
408 constant STDOUT_FILENO
409 constant STDERR_FILENO
411 type size_t
412 type ssize_t
413 #ifndef POSIX
414 type uid_t
415 type gid_t
416 type off_t
417 type pid_t
418 #endif
420 #if !defined POSIX && !defined XPG4
421 type useconds_t
423 # ifndef XPG42
424 type intptr_t
425 # endif
426 #endif
428 function int access (const char*, int)
429 function {unsigned int} alarm (unsigned int)
430 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined XPG4 && !defined POSIX && !defined POSIX2008
431 function int brk (void*)
432 #endif
433 function int chdir (const char*)
434 #if defined XPG4 || defined XPG42 || defined UNIX98
435 function int chroot (const char*)
436 #endif
437 function int chown (const char*, uid_t, gid_t)
438 function int close (int)
439 function size_t confstr (int, char*, size_t)
440 #if !defined POSIX && !defined POSIX2008
441 function {char*} crypt (const char*, const char*)
442 #endif
443 #if defined XPG4 || defined XPG42 || defined UNIX98
444 function {char*} ctermid (char*)
445 function {char*} cuserid (char*)
446 #endif
447 #ifdef POSIX
448 allow cuserid
449 #endif
450 function int dup (int)
451 function int dup2 (int, int)
452 #if !defined POSIX && !defined POSIX2008
453 function void encrypt (char[64], int)
454 #endif
455 function int execl (const char*, const char*, ...)
456 function int execle (const char*, const char*, ...)
457 function int execlp (const char*, const char*, ...)
458 function int execv (const char*, char *const[])
459 function int execve (const char*, char *const[], char *const[])
460 function int execvp (const char*, char *const[])
461 function void _exit (int)
462 # if defined XOPEN2K8 || defined POSIX2008
463 function int faccessat (int, const char*, int, int)
464 # endif
465 #if !defined XPG4 && !defined POSIX
466 function int fchown (int, uid_t, gid_t)
467 #endif
468 # if defined XOPEN2K8 || defined POSIX2008
469 function int fchownat (int, const char*, uid_t, gid_t, int)
470 # endif
471 #if !defined XPG4 && !defined POSIX
472 function int fchdir (int)
473 #endif
474 #if !defined XPG4 && !defined XPG42
475 function int fdatasync (int)
476 #endif
477 # if defined XOPEN2K8 || defined POSIX2008
478 function int fexecve (int, char *const[], char *const[])
479 # endif
480 function pid_t fork (void)
481 function {long int} fpathconf (int, int)
482 function int fsync (int)
483 #ifndef XPG4
484 function int ftruncate (int, off_t)
485 #endif
486 function {char*} getcwd (char*, size_t)
487 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined XPG4 && !defined POSIX && !defined POSIX2008
488 function int getdtablesize (void)
489 #endif
490 function gid_t getegid (void)
491 function uid_t geteuid (void)
492 function gid_t getgid (void)
493 function int getgroups (int, gid_t[])
494 #if !defined XPG4 && !defined POSIX && !defined POSIX2008
495 function long gethostid (void)
496 #endif
497 #if !defined POSIX && !defined XPG4
498 function int gethostname (char*, size_t)
499 #endif
500 function {char*} getlogin (void)
501 #if !defined XPG4 && !defined XPG42
502 function int getlogin_r (char*, size_t)
503 #endif
504 function int getopt (int, char*const[], const char*)
505 #if defined XPG42 || defined UNIX98
506 function int getpagesize (void)
507 #endif
508 #if defined XPG4 || defined XPG42 || defined UNIX98
509 function {char*} getpass (const char*)
510 #endif
511 #if !defined XPG4 && !defined POSIX
512 function pid_t getpgid (pid_t)
513 #endif
514 function pid_t getpgrp (void)
515 function pid_t getpid (void)
516 function pid_t getppid (void)
517 #if !defined XPG4 && !defined POSIX
518 function pid_t getsid (pid_t)
519 #endif
520 function uid_t getuid (void)
521 #if defined XPG42 || defined UNIX98 || defined XOPEN2K
522 function {char*} getwd (char*)
523 #endif
524 function int isatty (int)
525 #if !defined XPG4 && !defined POSIX
526 function int lchown (const char*, uid_t, gid_t)
527 #endif
528 function int link (const char*, const char*)
529 # if defined XOPEN2K8 || defined POSIX2008
530 function int linkat (int, const char*, int, const char*, int)
531 # endif
532 # if !defined XPG4 && !defined POSIX && !defined POSIX2008
533 function int lockf (int, int, off_t)
534 # endif
535 function off_t lseek (int, off_t, int)
536 # if !defined POSIX && !defined POSIX2008
537 function int nice (int)
538 # endif
539 function {long int} pathconf (const char*, int)
540 function int pause (void)
541 function int pipe (int[2])
542 #if !defined POSIX && !defined XPG4 && !defined XPG42
543 function ssize_t pread (int, void*, size_t, off_t)
544 #endif
545 #if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 && !defined XPG4 && !defined XPG42
546 function int pthread_atfork (void(*)(void), void(*)(void), void(*)(void))
547 #endif
548 #if !defined POSIX && !defined XPG4 && !defined XPG42
549 function ssize_t pwrite (int, const void*, size_t, off_t)
550 #endif
551 function ssize_t read (int, void*, size_t)
552 #if !defined XPG4 && !defined POSIX
553 function ssize_t readlink (const char*, char*, size_t)
554 #endif
555 # if defined XOPEN2K8 || defined POSIX2008
556 function ssize_t readlinkat (int, const char*, char*, size_t)
557 # endif
558 function int rmdir (const char*)
559 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined XPG4 && !defined POSIX && !defined POSIX2008
560 function {void*} sbrk (intptr_t)
561 #endif
562 #if !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
563 function int setegid (gid_t)
564 function int seteuid (uid_t)
565 #endif
566 function int setgid (gid_t)
567 function int setpgid (pid_t, pid_t)
568 # if !defined XPG4 && !defined POSIX && !defined POSIX2008
569 function pid_t setpgrp (void)
570 function int setregid (gid_t, gid_t)
571 function int setreuid (uid_t, uid_t)
572 # endif
573 function pid_t setsid (void)
574 function int setuid (uid_t)
575 function {unsigned int} sleep (unsigned int)
576 # if !defined POSIX && !defined POSIX2008
577 function void swab (const void*, void*, ssize_t)
578 # endif
579 #if !defined XPG4 && !defined POSIX
580 function int symlink (const char*, const char*)
581 # endif
582 # if defined XOPEN2K8 || defined POSIX2008
583 function int symlinkat (const char*, int, const char*)
584 # endif
585 # if !defined XPG4 && !defined POSIX && !defined POSIX2008
586 function void sync (void)
587 # endif
588 function {long int} sysconf (int)
589 function pid_t tcgetpgrp (int)
590 function int tcsetpgrp (int, pid_t)
591 #if !defined XPG4 && !defined POSIX
592 function int truncate (const char*, off_t)
593 #endif
594 function {char*} ttyname (int)
595 function int ttyname_r (int, char*, size_t)
596 #if defined XPG42 || defined UNIX98 || defined XOPEN2K
597 function useconds_t ualarm (useconds_t, useconds_t)
598 #endif
599 function int unlink (const char*)
600 # if defined XOPEN2K8 || defined POSIX2008
601 function int unlinkat (int, const char*, int)
602 # endif
603 #if defined XPG42 || defined UNIX98 || defined XOPEN2K
604 function int usleep (useconds_t)
605 function pid_t vfork (void)
606 #endif
607 function ssize_t write (int, const void*, size_t)
609 variable {char*} optarg
610 variable int optind
611 variable int opterr
612 variable int optopt
614 allow *_t
615 #endif