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
45 optional-constant _POSIX_V6_ILP32_OFF32
46 optional-constant _POSIX_V6_ILP32_OFFBIG
47 optional-constant _POSIX_V6_LP64_OFF64
48 optional-constant _POSIX_V6_LPBIG_OFFBIG
50 # if defined XOPEN2K8 || defined POSIX2008
51 optional-constant _POSIX_V7_ILP32_OFF32
52 optional-constant _POSIX_V7_ILP32_OFFBIG
53 optional-constant _POSIX_V7_LP64_OFF64
54 optional-constant _POSIX_V7_LPBIG_OFFBIG
57 optional-constant _POSIX2_C_DEV
58 optional-constant _POSIX2_FORT_DEV
59 optional-constant _POSIX2_FORT_RUN
60 optional-constant _POSIX2_SW_DEV
61 # if !defined POSIX && !defined POSIX2008
62 optional-constant _XOPEN_CRYPT
63 optional-constant _XOPEN_ENH_I18N
64 optional-constant _XOPEN_LEGACY
65 optional-constant _XOPEN_REALTIME
66 optional-constant _XOPEN_REALTIME_THREADS
67 optional-constant _XOPEN_SHM
68 optional-constant _XOPEN_STREAMS
70 allow _XBS5_ILP32_OFF32
71 allow _XBS5_ILP32_OFBIG
72 allow _XBS5_LP64_OFF64
73 allow _XBS5_LPBIG_OFFBIG
74 optional-constant _POSIX_ASYNCHRONOUS_IO
75 optional-constant _POSIX_MEMLOCK
76 optional-constant _POSIX_MEMLOCK_RANGE
77 optional-constant _POSIX_MESSAGE_PASSING
78 optional-constant _POSIX_PRIORITY_SCHEDULING
79 optional-constant _POSIX_REALTIME_SIGNALS
80 optional-constant _POSIX_SEMAPHORES
81 optional-constant _POSIX_SHARED_MEMORY_OBJECTS
82 optional-constant _POSIX_SYNCHRONIZED_IO
83 optional-constant _POSIX_TIMERS
84 optional-constant _POSIX_TIMEOUTS
86 optional-constant _POSIX_FSYNC
87 optional-constant _POSIX_MAPPED_FILES
88 optional-constant _POSIX_MEMORY_PROTECTION
90 optional-constant _POSIX_PRIORITIZED_IO
92 optional-constant _POSIX_THREAD_PRIORITY_SCHEDULING
93 optional-constant _POSIX_THREAD_PRIO_INHERIT
94 optional-constant _POSIX_THREAD_PRIO_PROTECT
96 optional-constant _POSIX_ASYNC_IO
97 optional-constant _POSIX_PRIO_IO
98 optional-constant _POSIX_SYNC_IO
100 optional-constant _POSIX2_PBS
101 optional-constant _POSIX2_PBS_ACCOUNTING
102 optional-constant _POSIX2_PBS_CHECKPOINT
103 optional-constant _POSIX2_PBS_LOCATE
104 optional-constant _POSIX2_PBS_MESSAGE
105 optional-constant _POSIX2_PBS_TRACK
107 optional-constant _POSIX_TIMESTAMP_RESOLUTION
117 constant _CS_XBS5_ILP32_OFF32_CFLAGS
118 constant _CS_XBS5_ILP32_OFF32_LDFLAGS
119 constant _CS_XBS5_ILP32_OFF32_LIBS
120 constant _CS_XBS5_ILP32_OFF32_LINTFLAGS
121 constant _CS_XBS5_ILP32_OFFBIG_CFLAGS
122 constant _CS_XBS5_ILP32_OFFBIG_LDFLAGS
123 constant _CS_XBS5_ILP32_OFFBIG_LIBS
124 constant _CS_XBS5_ILP32_OFFBIG_LINTFLAGS
125 constant _CS_XBS5_LP64_OFF64_CFLAGS
126 constant _CS_XBS5_LP64_OFF64_LDFLAGS
127 constant _CS_XBS5_LP64_OFF64_LIBS
128 constant _CS_XBS5_LP64_OFF64_LINTFLAGS
129 constant _CS_XBS5_LPBIG_OFFBIG_CFLAGS
130 constant _CS_XBS5_LPBIG_OFFBIG_LDFLAGS
131 constant _CS_XBS5_LPBIG_OFFBIG_LIBS
132 constant _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS
138 constant _SC_2_C_BIND
140 constant _SC_2_C_VERSION
141 constant _SC_2_FORT_DEV
142 constant _SC_2_FORT_RUN
143 constant _SC_2_LOCALEDEF
145 constant _SC_2_PBS_ACCOUNTING
146 constant _SC_2_PBS_CHECKPOINT
147 constant _SC_2_PBS_LOCATE
148 constant _SC_2_PBS_MESSAGE
149 constant _SC_2_PBS_TRACK
150 constant _SC_2_SW_DEV
152 constant _SC_2_VERSION
154 constant _SC_AIO_LISTIO_MAX
156 constant _SC_AIO_PRIO_DELTA_MAX
157 constant _SC_ASYNCHRONOUS_IO
158 constant _SC_ATEXIT_MAX
159 constant _SC_BARRIERS
161 constant _SC_BC_BASE_MAX
162 constant _SC_BC_DIM_MAX
163 constant _SC_BC_SCALE_MAX
164 constant _SC_BC_STRING_MAX
165 constant _SC_CHILD_MAX
167 constant _SC_CLOCK_SELECTION
168 constant _SC_COLL_WEIGHTS_MAX
169 constant _SC_DELAYTIMER_MAX
170 constant _SC_DEVICE_IO
171 constant _SC_DEVICE_SPECIFIC
172 constant _SC_DEVICE_SPECIFIC_R
173 constant _SC_EXPR_NEST_MAX
176 constant _SC_FILE_ATTRIBUTES
177 constant _SC_FILE_LOCKING
178 constant _SC_FILE_SYSTEM
180 constant _SC_GETGR_R_SIZE_MAX
181 constant _SC_GETPW_R_SIZE_MAX
183 constant _SC_JOB_CONTROL
184 constant _SC_LINE_MAX
185 constant _SC_LOGIN_NAME_MAX
186 constant _SC_MAPPED_FILES
188 constant _SC_MEMLOCK_RANGE
189 constant _SC_MEMORY_PROTECTION
190 constant _SC_MESSAGE_PASSING
191 constant _SC_MONOTONIC_CLOCK
192 constant _SC_MQ_OPEN_MAX
193 constant _SC_MQ_PRIO_MAX
194 constant _SC_NETWORKING
195 constant _SC_NGROUPS_MAX
196 constant _SC_OPEN_MAX
197 constant _SC_PAGESIZE
198 constant _SC_PAGE_SIZE
199 constant _SC_PASS_MAX
201 constant _SC_PRIORITIZED_IO
202 constant _SC_PRIORITY_SCHEDULING
203 constant _SC_RE_DUP_MAX
204 constant _SC_READER_WRITER_LOCKS
205 constant _SC_REALTIME_SIGNALS
207 constant _SC_RTSIG_MAX
208 constant _SC_SAVED_IDS
209 constant _SC_SEMAPHORES
210 constant _SC_SEM_NSEMS_MAX
211 constant _SC_SEM_VALUE_MAX
212 constant _SC_SHARED_MEMORY_OBJECTS
215 constant _SC_SIGQUEUE_MAX
216 constant _SC_SINGLE_PROCESS
217 constant _SC_SPIN_LOCKS
218 constant _SC_STREAM_MAX
219 constant _SC_SYNCHRONIZED_IO
221 constant _SC_THREAD_ATTR_STACKADDR
222 constant _SC_THREAD_ATTR_STACKSIZE
223 constant _SC_THREAD_DESTRUCTOR_ITERATIONS
224 constant _SC_THREAD_KEYS_MAX
225 constant _SC_THREAD_PRIORITY_SCHEDULING
226 constant _SC_THREAD_PRIO_INHERIT
227 constant _SC_THREAD_PRIO_PROTECT
228 constant _SC_THREAD_PROCESS_SHARED
229 constant _SC_THREAD_SAFE_FUNCTIONS
230 constant _SC_THREAD_STACK_MIN
231 constant _SC_THREAD_THREADS_MAX
233 constant _SC_TIMER_MAX
234 constant _SC_TTY_NAME_MAX
235 constant _SC_TYPED_MEMORY_OBJECTS
236 constant _SC_TZNAME_MAX
237 constant _SC_USER_GROUPS
238 constant _SC_USER_GROUPS_R
240 constant _SC_V6_ILP32_OFF32
241 constant _SC_V6_ILP32_OFFBIG
242 constant _SC_V6_LP64_OFF64
243 constant _SC_V6_LPBIG_OFFBIG
245 # if defined XOPEN2K8 || defined POSIX2008
246 constant _SC_V7_ILP32_OFF32
247 constant _SC_V7_ILP32_OFFBIG
248 constant _SC_V7_LP64_OFF64
249 constant _SC_V7_LPBIG_OFFBIG
252 # if !defined POSIX && !defined POSIX2008
253 constant _SC_XOPEN_VERSION
254 constant _SC_XOPEN_CRYPT
255 constant _SC_XOPEN_ENH_I18N
256 constant _SC_XOPEN_SHM
257 constant _SC_XOPEN_UNIX
258 constant _SC_XOPEN_XCU_VERSION
259 constant _SC_XOPEN_LEGACY
260 constant _SC_XOPEN_REALTIME
261 constant _SC_XOPEN_REALTIME_THREADS
264 constant _SC_XBS5_ILP32_OFF32
265 constant _SC_XBS5_ILP32_OFFBIG
266 constant _SC_XBS5_LP64_OFF64
267 constant _SC_XBS5_LPBIG_OFFBIG
269 constant _CS_POSIX_V6_ILP32_OFF32_CFLAGS
270 constant _CS_POSIX_V6_ILP32_OFF32_LDFLAGS
271 constant _CS_POSIX_V6_ILP32_OFF32_LIBS
272 constant _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
273 constant _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
274 constant _CS_POSIX_V6_ILP32_OFFBIG_LIBS
275 constant _CS_POSIX_V6_LP64_OFF64_CFLAGS
276 constant _CS_POSIX_V6_LP64_OFF64_LDFLAGS
277 constant _CS_POSIX_V6_LP64_OFF64_LIBS
278 constant _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
279 constant _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
280 constant _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
281 constant _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS
284 # if defined XOPEN2K8 || defined POSIX2008
285 constant _CS_POSIX_V7_ILP32_OFF32_CFLAGS
286 constant _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
287 constant _CS_POSIX_V7_ILP32_OFF32_LIBS
288 constant _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
289 constant _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
290 constant _CS_POSIX_V7_ILP32_OFFBIG_LIBS
291 constant _CS_POSIX_V7_LP64_OFF64_CFLAGS
292 constant _CS_POSIX_V7_LP64_OFF64_LDFLAGS
293 constant _CS_POSIX_V7_LP64_OFF64_LIBS
294 constant _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
295 constant _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
296 constant _CS_POSIX_V7_LPBIG_OFFBIG_LIBS
297 constant _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS
300 constant _SC_THREAD_ROBUST_PRIO_INHERIT
301 constant _SC_THREAD_ROBUST_PRIO_PROTECT
303 #if !defined POSIX && !defined POSIX2008
310 constant _PC_ASYNC_IO
311 constant _PC_CHOWN_RESTRICTED
312 constant _PC_FILESIZEBITS
313 constant _PC_LINK_MAX
314 constant _PC_MAX_CANON
315 constant _PC_MAX_INPUT
316 constant _PC_NAME_MAX
317 constant _PC_NO_TRUNC
318 constant _PC_PATH_MAX
319 constant _PC_PIPE_BUF
321 constant _PC_REC_INCR_XFER_SIZE
322 constant _PC_REC_MAX_XFER_SIZE
323 constant _PC_REC_MIN_XFER_SIZE
324 constant _PC_REC_XFER_ALIGN
326 constant _PC_VDISABLE
328 constant STDIN_FILENO
329 constant STDOUT_FILENO
330 constant STDERR_FILENO
343 function int access (const char*, int)
344 function {unsigned int} alarm (unsigned int)
345 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
346 function int brk (void*)
348 function int chdir (const char*)
349 #if defined XPG3 || defined XPG4 || defined UNIX98
350 function int chroot (const char*)
352 function int chown (const char*, uid_t, gid_t)
353 function int close (int)
354 function size_t confstr (int, char*, size_t)
355 #if !defined POSIX && !defined POSIX2008
356 function {char*} crypt (const char*, const char*)
358 function {char*} ctermid (char*)
359 #if defined XPG3 || defined XPG4 || defined UNIX98
360 function {char*} cuserid (char*)
362 function int dup (int)
363 function int dup2 (int, int)
364 #if !defined POSIX && !defined POSIX2008
365 function void encrypt (char[64], int)
367 function int execl (const char*, const char*, ...)
368 function int execle (const char*, const char*, ...)
369 function int execlp (const char*, const char*, ...)
370 function int execv (const char*, char *const[])
371 function int execve (const char*, char *const[], char *const[])
372 function int execvp (const char*, char *const[])
373 function void _exit (int)
374 # if defined XOPEN2K8 || defined POSIX2008
375 function int faccessat (int, const char*, int, int)
377 function int fchown (int, uid_t, gid_t)
378 # if defined XOPEN2K8 || defined POSIX2008
379 function int fchownat (int, const char*, uid_t, gid_t, int)
381 function int fchdir (int)
382 function int fdatasync (int)
383 # if defined XOPEN2K8 || defined POSIX2008
384 function int fexecve (int, char *const[], char *const[])
386 function pid_t fork (void)
387 function {long int} fpathconf (int, int)
388 function int fsync (int)
389 function int ftruncate (int, off_t)
390 function {char*} getcwd (char*, size_t)
391 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
392 function int getdtablesize (void)
394 function gid_t getegid (void)
395 function uid_t geteuid (void)
396 function gid_t getgid (void)
397 function int getgroups (int, gid_t[])
398 #if !defined POSIX && !defined POSIX2008
399 function long gethostid (void)
401 function int gethostname (char*, size_t)
402 function {char*} getlogin (void)
403 function int getlogin_r (char*, size_t)
404 function int getopt (int, char*const[], const char*)
405 #if defined XPG3 || defined XPG4 || defined UNIX98
406 function int getpagesize (void)
407 function {char*} getpass (const char*)
410 function pid_t getpgid (pid_t)
412 function pid_t getpgrp (void)
413 function pid_t getpid (void)
414 function pid_t getppid (void)
415 function pid_t getsid (pid_t)
416 function uid_t getuid (void)
417 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
418 function {char*} getwd (char*)
420 function int isatty (int)
421 function int lchown (const char*, uid_t, gid_t)
422 function int link (const char*, const char*)
423 # if defined XOPEN2K8 || defined POSIX2008
424 function int linkat (int, const char*, int, const char*, int)
426 # if !defined POSIX && !defined POSIX2008
427 function int lockf (int, int, off_t)
429 function off_t lseek (int, off_t, int)
430 # if !defined POSIX && !defined POSIX2008
431 function int nice (int)
433 function {long int} pathconf (const char*, int)
434 function int pause (void)
435 function int pipe (int[2])
436 function ssize_t pread (int, void*, size_t, off_t)
437 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
438 function int pthread_atfork (void(*)(void), void(*)(void), void(*)(void))
440 function ssize_t pwrite (int, const void*, size_t, off_t)
441 function ssize_t read (int, void*, size_t)
442 function ssize_t readlink (const char*, char*, size_t)
443 # if defined XOPEN2K8 || defined POSIX2008
444 function ssize_t readlinkat (int, const char*, char*, size_t)
446 function int rmdir (const char*)
447 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
448 function {void*} sbrk (intptr_t)
450 function int setegid (gid_t)
451 function int seteuid (uid_t)
452 function int setgid (gid_t)
453 function int setpgid (pid_t, pid_t)
454 # if !defined POSIX && !defined POSIX2008
455 function pid_t setpgrp (void)
456 function int setregid (gid_t, gid_t)
457 function int setreuid (uid_t, uid_t)
459 function pid_t setsid (void)
460 function int setuid (uid_t)
461 function {unsigned int} sleep (unsigned int)
462 # if !defined POSIX && !defined POSIX2008
463 function void swab (const void*, void*, ssize_t)
465 function int symlink (const char*, const char*)
466 # if defined XOPEN2K8 || defined POSIX2008
467 function int symlinkat (const char*, int, const char*)
469 # if !defined POSIX && !defined POSIX2008
470 function void sync (void)
472 function {long int} sysconf (int)
473 function pid_t tcgetpgrp (int)
474 function int tcsetpgrp (int, pid_t)
475 function int truncate (const char*, off_t)
476 function {char*} ttyname (int)
477 function int ttyname_r (int, char*, size_t)
478 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
479 function useconds_t ualarm (useconds_t, useconds_t)
481 function int unlink (const char*)
482 # if defined XOPEN2K8 || defined POSIX2008
483 function int unlinkat (int, const char*, int)
485 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
486 function int usleep (useconds_t)
487 function pid_t vfork (void)
489 function ssize_t write (int, const void*, size_t)
491 variable {char*} optarg