Update contrib.
1 /** @file ../include/sys/unistd.h
5 /** @def _POSIX_ADVISORY_INFO
7 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
9 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
10 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
16 /** @def _POSIX_ASYNCHRONOUS_IO
18 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
20 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
21 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
27 /** @def _POSIX_CHOWN_RESTRICTED
29 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
31 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
32 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
38 /** @def _POSIX_CLOCK_SELECTION
40 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
42 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
43 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
49 /** @def _POSIX_CPUTIME
51 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
53 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
54 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
62 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
64 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
65 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
73 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
75 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
76 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
82 /** @def _POSIX_JOB_CONTROL
84 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
86 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
87 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
93 /** @def _POSIX_MAPPED_FILES
95 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
97 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
98 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
101 @externallyDefinedApi
104 /** @def _POSIX_MEMLOCK
106 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
108 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
109 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
112 @externallyDefinedApi
115 /** @def _POSIX_MEMLOCK_RANGE
117 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
119 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
120 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
123 @externallyDefinedApi
126 /** @def _POSIX_MEMORY_PROTECTION
128 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
130 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
131 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
134 @externallyDefinedApi
137 /** @def _POSIX_MESSAGE_PASSING
139 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
141 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
142 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
145 @externallyDefinedApi
148 /** @def _POSIX_MONOTONIC_CLOCK
150 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
152 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
153 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
156 @externallyDefinedApi
159 /** @def _POSIX_NO_TRUNC
161 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
163 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
164 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
167 @externallyDefinedApi
170 /** @def _POSIX_PRIORITIZED_IO
172 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
174 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
175 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
178 @externallyDefinedApi
181 /** @def _POSIX_PRIORITY_SCHEDULING
183 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
185 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
186 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
189 @externallyDefinedApi
192 /** @def _POSIX_RAW_SOCKETS
194 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
196 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
197 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
200 @externallyDefinedApi
203 /** @def _POSIX_REALTIME_SIGNALS
205 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
207 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
208 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
211 @externallyDefinedApi
214 /** @def _POSIX_SEMAPHORES
216 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
218 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
219 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
222 @externallyDefinedApi
225 /** @def _POSIX_SHARED_MEMORY_OBJECTS
227 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
229 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
230 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
233 @externallyDefinedApi
236 /** @def _POSIX_SPORADIC_SERVER
238 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
240 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
241 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
244 @externallyDefinedApi
247 /** @def _POSIX_SYNCHRONIZED_IO
249 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
251 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
252 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
255 @externallyDefinedApi
258 /** @def _POSIX_TIMEOUTS
260 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
262 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
263 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
266 @externallyDefinedApi
269 /** @def _POSIX_TYPED_MEMORY_OBJECTS
271 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
273 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
274 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
277 @externallyDefinedApi
280 /** @def _POSIX_VDISABLE
282 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
284 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
285 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
288 @externallyDefinedApi
293 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
295 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
296 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
299 @externallyDefinedApi
302 /** @def _XOPEN_STREAMS
304 POSIX options and option groups we unconditionally do or don't implement. Those options which are implemented (or not) entirely in user mode are defined in unistd.h.
306 Anything which is defined as zero must have an implementation for the corresponding sysconf() which is able to determine conclusively whether or not the feature is supported.
307 Anything which is defined as other than -1 must have complete headers, types, and function declarations as specified by the POSIX standard; however, if the relevant sysconf() function returns -1, the functions may be stubbed out.
310 @externallyDefinedApi
313 /** @def _POSIX_VERSION
315 Define the POSIX.1 version we target for compliance.
318 @externallyDefinedApi
323 access function. test for existence of file.
326 @externallyDefinedApi
331 access function. test for execute or search permission.
334 @externallyDefinedApi
339 access function. est for write permission.
342 @externallyDefinedApi
347 access function. test for read permission.
350 @externallyDefinedApi
353 /** @def _PC_LINK_MAX
355 configurable pathname variables.
358 @externallyDefinedApi
361 /** @def _PC_MAX_CANON
363 configurable pathname variables.
366 @externallyDefinedApi
369 /** @def _PC_MAX_INPUT
371 configurable pathname variables.
374 @externallyDefinedApi
377 /** @def _PC_NAME_MAX
379 configurable pathname variables.
382 @externallyDefinedApi
385 /** @def _PC_PATH_MAX
387 configurable pathname variables.
390 @externallyDefinedApi
393 /** @def _PC_PIPE_BUF
395 configurable pathname variables.
398 @externallyDefinedApi
401 /** @def _PC_CHOWN_RESTRICTED
403 configurable pathname variables.
406 @externallyDefinedApi
409 /** @def _PC_NO_TRUNC
411 configurable pathname variables.
414 @externallyDefinedApi
417 /** @def _PC_VDISABLE
419 configurable pathname variables.
422 @externallyDefinedApi
427 rfork() options. XXX currently, some operations without RFPROC set are not supported.
428 UNIMPL new plan9 `name space'
431 @externallyDefinedApi
436 rfork() options. XXX currently, some operations without RFPROC set are not supported.
437 UNIMPL copy plan9 `env space'
440 @externallyDefinedApi
445 rfork() options. XXX currently, some operations without RFPROC set are not supported.
449 @externallyDefinedApi
454 rfork() options. XXX currently, some operations without RFPROC set are not supported.
455 UNIMPL create new plan9 `note group'
458 @externallyDefinedApi
463 rfork() options. XXX currently, some operations without RFPROC set are not supported.
464 change child (else changes curproc)
467 @externallyDefinedApi
472 rfork() options. XXX currently, some operations without RFPROC set are not supported.
473 share `address space'
476 @externallyDefinedApi
481 rfork() options. XXX currently, some operations without RFPROC set are not supported.
485 @externallyDefinedApi
490 rfork() options. XXX currently, some operations without RFPROC set are not supported.
491 UNIMPL zero plan9 `name space'
494 @externallyDefinedApi
499 rfork() options. XXX currently, some operations without RFPROC set are not supported.
500 UNIMPL zero plan9 `env space'
503 @externallyDefinedApi
508 rfork() options. XXX currently, some operations without RFPROC set are not supported.
509 close all fds, zero fd table.
512 @externallyDefinedApi
517 rfork() options. XXX currently, some operations without RFPROC set are not supported.
518 enable kernel thread support.
521 @externallyDefinedApi
526 rfork() options. XXX currently, some operations without RFPROC set are not supported.
527 share signal handlers.
530 @externallyDefinedApi
535 rfork() options. XXX currently, some operations without RFPROC set are not supported.
536 do linux clone exit parent notification.
539 @externallyDefinedApi
544 rfork() options. XXX currently, some operations without RFPROC set are not supported.
545 leave child in a stopped state.
548 @externallyDefinedApi
553 rfork() options. XXX currently, some operations without RFPROC set are not supported.
554 use a pid higher then 10 (idleproc)
557 @externallyDefinedApi
562 rfork() options. XXX currently, some operations without RFPROC set are not supported.
563 parent sleeps until child exits (vfork).
566 @externallyDefinedApi
569 /** @def RFKERNELONLY
571 rfork() options. XXX currently, some operations without RFPROC set are not supported.
574 @externallyDefinedApi