os/ossrv/genericopenlibs/openenvcore/include/sys/unistd.dosc
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /** @file  ../include/sys/unistd.h
     2 @internalComponent
     3 */
     4 
     5 /** @def _POSIX_ADVISORY_INFO
     6 
     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.  
     8 
     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.
    11 
    12 @publishedAll
    13 @externallyDefinedApi
    14 */
    15 
    16 /** @def _POSIX_ASYNCHRONOUS_IO
    17 
    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.  
    19 
    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.
    22 
    23 @publishedAll
    24 @externallyDefinedApi
    25 */
    26 
    27 /** @def _POSIX_CHOWN_RESTRICTED
    28 
    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.  
    30 
    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.
    33 
    34 @publishedAll
    35 @externallyDefinedApi
    36 */
    37 
    38 /** @def _POSIX_CLOCK_SELECTION
    39 
    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.  
    41 
    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.
    44 
    45 @publishedAll
    46 @externallyDefinedApi
    47 */
    48 
    49 /** @def _POSIX_CPUTIME
    50 
    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.  
    52 
    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.
    55 
    56 @publishedAll
    57 @externallyDefinedApi
    58 */
    59 
    60 /** @def _POSIX_FSYNC
    61 
    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.  
    63 
    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.
    66 
    67 @publishedAll
    68 @externallyDefinedApi
    69 */
    70 
    71 /** @def _POSIX_IPV6
    72 
    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.  
    74 
    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.
    77 
    78 @publishedAll
    79 @externallyDefinedApi
    80 */
    81 
    82 /** @def _POSIX_JOB_CONTROL
    83 
    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.  
    85 
    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.
    88 
    89 @publishedAll
    90 @externallyDefinedApi
    91 */
    92 
    93 /** @def _POSIX_MAPPED_FILES
    94 
    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.  
    96 
    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.
    99 
   100 @publishedAll
   101 @externallyDefinedApi
   102 */
   103 
   104 /** @def _POSIX_MEMLOCK
   105 
   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.  
   107 
   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.
   110 
   111 @publishedAll
   112 @externallyDefinedApi
   113 */
   114 
   115 /** @def _POSIX_MEMLOCK_RANGE
   116 
   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.  
   118 
   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.
   121 
   122 @publishedAll
   123 @externallyDefinedApi
   124 */
   125 
   126 /** @def _POSIX_MEMORY_PROTECTION
   127 
   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.  
   129 
   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.
   132 
   133 @publishedAll
   134 @externallyDefinedApi
   135 */
   136 
   137 /** @def _POSIX_MESSAGE_PASSING
   138 
   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.  
   140 
   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.
   143 
   144 @publishedAll
   145 @externallyDefinedApi
   146 */
   147 
   148 /** @def _POSIX_MONOTONIC_CLOCK
   149 
   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.  
   151 
   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.
   154 
   155 @publishedAll
   156 @externallyDefinedApi
   157 */
   158 
   159 /** @def _POSIX_NO_TRUNC
   160 
   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.  
   162 
   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.
   165 
   166 @publishedAll
   167 @externallyDefinedApi
   168 */
   169 
   170 /** @def _POSIX_PRIORITIZED_IO
   171 
   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.  
   173 
   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.
   176 
   177 @publishedAll
   178 @externallyDefinedApi
   179 */
   180 
   181 /** @def _POSIX_PRIORITY_SCHEDULING
   182 
   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.  
   184 
   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.
   187 
   188 @publishedAll
   189 @externallyDefinedApi
   190 */
   191 
   192 /** @def _POSIX_RAW_SOCKETS
   193 
   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.  
   195 
   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.
   198 
   199 @publishedAll
   200 @externallyDefinedApi
   201 */
   202 
   203 /** @def _POSIX_REALTIME_SIGNALS
   204 
   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.  
   206 
   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.
   209 
   210 @publishedAll
   211 @externallyDefinedApi
   212 */
   213 
   214 /** @def _POSIX_SEMAPHORES
   215 
   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.  
   217 
   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.
   220 
   221 @publishedAll
   222 @externallyDefinedApi
   223 */
   224 
   225 /** @def _POSIX_SHARED_MEMORY_OBJECTS
   226 
   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.  
   228 
   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.
   231 
   232 @publishedAll
   233 @externallyDefinedApi
   234 */
   235 
   236 /** @def _POSIX_SPORADIC_SERVER
   237 
   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.  
   239 
   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.
   242 
   243 @publishedAll
   244 @externallyDefinedApi
   245 */
   246 
   247 /** @def _POSIX_SYNCHRONIZED_IO
   248 
   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.  
   250 
   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.
   253 
   254 @publishedAll
   255 @externallyDefinedApi
   256 */
   257 
   258 /** @def _POSIX_TIMEOUTS
   259 
   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.  
   261 
   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.
   264 
   265 @publishedAll
   266 @externallyDefinedApi
   267 */
   268 
   269 /** @def _POSIX_TYPED_MEMORY_OBJECTS
   270 
   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.  
   272 
   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.
   275 
   276 @publishedAll
   277 @externallyDefinedApi
   278 */
   279 
   280 /** @def _POSIX_VDISABLE
   281 
   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.  
   283 
   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.
   286 
   287 @publishedAll
   288 @externallyDefinedApi
   289 */
   290 
   291 /** @def _XOPEN_SHM
   292 
   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.  
   294 
   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.
   297 
   298 @publishedAll
   299 @externallyDefinedApi
   300 */
   301 
   302 /** @def _XOPEN_STREAMS
   303 
   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.  
   305 
   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.
   308 
   309 @publishedAll
   310 @externallyDefinedApi
   311 */
   312 
   313 /** @def _POSIX_VERSION
   314 
   315 Define the POSIX.1 version we target for compliance.
   316 
   317 @publishedAll
   318 @externallyDefinedApi
   319 */
   320 
   321 /** @def F_OK
   322 
   323 access function. test for existence of file.
   324 
   325 @publishedAll
   326 @externallyDefinedApi
   327 */
   328 
   329 /** @def X_OK
   330 
   331 access function. test for execute or search permission.
   332 
   333 @publishedAll
   334 @externallyDefinedApi
   335 */
   336 
   337 /** @def W_OK
   338 
   339 access function. est for write permission.
   340 
   341 @publishedAll
   342 @externallyDefinedApi
   343 */
   344 
   345 /** @def R_OK
   346 
   347 access function. test for read permission.
   348 
   349 @publishedAll
   350 @externallyDefinedApi
   351 */
   352 
   353 /** @def _PC_LINK_MAX
   354 
   355 configurable pathname variables.
   356 
   357 @publishedAll
   358 @externallyDefinedApi
   359 */
   360 
   361 /** @def _PC_MAX_CANON
   362 
   363 configurable pathname variables.
   364 
   365 @publishedAll
   366 @externallyDefinedApi
   367 */
   368 
   369 /** @def _PC_MAX_INPUT
   370 
   371 configurable pathname variables.
   372 
   373 @publishedAll
   374 @externallyDefinedApi
   375 */
   376 
   377 /** @def _PC_NAME_MAX
   378 
   379 configurable pathname variables.
   380 
   381 @publishedAll
   382 @externallyDefinedApi
   383 */
   384 
   385 /** @def _PC_PATH_MAX
   386 
   387 configurable pathname variables.
   388 
   389 @publishedAll
   390 @externallyDefinedApi
   391 */
   392 
   393 /** @def _PC_PIPE_BUF
   394 
   395 configurable pathname variables.
   396 
   397 @publishedAll
   398 @externallyDefinedApi
   399 */
   400 
   401 /** @def _PC_CHOWN_RESTRICTED
   402 
   403 configurable pathname variables.
   404 
   405 @publishedAll
   406 @externallyDefinedApi
   407 */
   408 
   409 /** @def _PC_NO_TRUNC
   410 
   411 configurable pathname variables.
   412 
   413 @publishedAll
   414 @externallyDefinedApi
   415 */
   416 
   417 /** @def _PC_VDISABLE
   418 
   419 configurable pathname variables.
   420 
   421 @publishedAll
   422 @externallyDefinedApi
   423 */
   424 
   425 /** @def RFNAMEG
   426 
   427 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   428 UNIMPL new plan9 `name space'
   429 
   430 @publishedAll
   431 @externallyDefinedApi
   432 */
   433 
   434 /** @def RFENVG
   435 
   436 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   437 UNIMPL copy plan9 `env space'
   438 
   439 @publishedAll
   440 @externallyDefinedApi
   441 */
   442 
   443 /** @def RFFDG
   444 
   445 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   446 copy fd table
   447 
   448 @publishedAll
   449 @externallyDefinedApi
   450 */
   451 
   452 /** @def RFNOTEG
   453 
   454 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   455 UNIMPL create new plan9 `note group'
   456 
   457 @publishedAll
   458 @externallyDefinedApi
   459 */
   460 
   461 /** @def RFPROC
   462 
   463 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   464 change child (else changes curproc)
   465 
   466 @publishedAll
   467 @externallyDefinedApi
   468 */
   469 
   470 /** @def RFMEM
   471 
   472 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   473 share `address space'
   474 
   475 @publishedAll
   476 @externallyDefinedApi
   477 */
   478 
   479 /** @def RFNOWAIT
   480 
   481 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   482 give child to init.
   483 
   484 @publishedAll
   485 @externallyDefinedApi
   486 */
   487 
   488 /** @def RFCNAMEG
   489 
   490 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   491 UNIMPL zero plan9 `name space'
   492 
   493 @publishedAll
   494 @externallyDefinedApi
   495 */
   496 
   497 /** @def RFCENVG
   498 
   499 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   500 UNIMPL zero plan9 `env space'
   501 
   502 @publishedAll
   503 @externallyDefinedApi
   504 */
   505 
   506 /** @def RFCFDG
   507 
   508 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   509 close all fds, zero fd table.
   510 
   511 @publishedAll
   512 @externallyDefinedApi
   513 */
   514 
   515 /** @def RFTHREAD
   516 
   517 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   518 enable kernel thread support.
   519 
   520 @publishedAll
   521 @externallyDefinedApi
   522 */
   523 
   524 /** @def RFSIGSHARE
   525 
   526 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   527 share signal handlers.
   528 
   529 @publishedAll
   530 @externallyDefinedApi
   531 */
   532 
   533 /** @def RFLINUXTHPN
   534 
   535 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   536 do linux clone exit parent notification.
   537 
   538 @publishedAll
   539 @externallyDefinedApi
   540 */
   541 
   542 /** @def RFSTOPPED
   543 
   544 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   545 leave child in a stopped state.
   546 
   547 @publishedAll
   548 @externallyDefinedApi
   549 */
   550 
   551 /** @def RFHIGHPID
   552 
   553 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   554 use a pid higher then 10 (idleproc)
   555 
   556 @publishedAll
   557 @externallyDefinedApi
   558 */
   559 
   560 /** @def RFPPWAIT
   561 
   562 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   563 parent sleeps until child exits (vfork).
   564 
   565 @publishedAll
   566 @externallyDefinedApi
   567 */
   568 
   569 /** @def RFKERNELONLY
   570 
   571 rfork() options. XXX currently, some operations without RFPROC set are not supported.
   572 
   573 @publishedAll
   574 @externallyDefinedApi
   575 */