Debian Codegraph @

upstream/debian-trixie/man7/posixoptions.7

raw
1 .\" Copyright (c) 2003 Andries Brouwer ([email protected])
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .\"
5 .TH posixoptions 7 2024-05-02 "Linux man-pages 6.9.1"
6 .SH NAME
7 posixoptions \- optional parts of the POSIX standard
8 .SH DESCRIPTION
9 The POSIX standard (the information below is from POSIX.1-2001)
10 describes a set of behaviors and interfaces for a compliant system.
11 However, many interfaces are optional and there are feature test macros
12 to test the availability of interfaces at compile time, and functions
13 .BR sysconf (3),
14 .BR fpathconf (3),
15 .BR pathconf (3),
16 .BR confstr (3)
17 to do this at run time.
18 From shell scripts one can use
19 .BR getconf (1).
20 For more detail, see
21 .BR sysconf (3).
22 .P
23 We give the name of the POSIX abbreviation, the option, the name of the
24 .BR sysconf (3)
25 parameter used to inquire about the option, and possibly
26 a very short description.
27 Much more precise detail can be found in the POSIX standard itself,
28 versions of which can nowadays be accessed freely on the web.
29 .SS ADV - _POSIX_ADVISORY_INFO - _SC_ADVISORY_INFO
30 The following advisory functions are present:
31 .P
32 .nf
33 .in +4n
34 .IR posix_fadvise ()
35 .IR posix_fallocate ()
36 .IR posix_memalign ()
37 .IR posix_madvise ()
38 .in
39 .fi
40 .SS AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO
41 The header
42 .I <aio.h>
43 is present.
44 The following functions are present:
45 .P
46 .nf
47 .in +4n
48 .IR aio_cancel ()
49 .IR aio_error ()
50 .IR aio_fsync ()
51 .IR aio_read ()
52 .IR aio_return ()
53 .IR aio_suspend ()
54 .IR aio_write ()
55 .IR lio_listio ()
56 .in
57 .fi
58 .SS BAR - _POSIX_BARRIERS - _SC_BARRIERS
59 This option implies the
60 .B _POSIX_THREADS
61 and
62 .B _POSIX_THREAD_SAFE_FUNCTIONS
63 options.
64 The following functions are present:
65 .P
66 .nf
67 .in +4n
68 .IR pthread_barrier_destroy ()
69 .IR pthread_barrier_init ()
70 .IR pthread_barrier_wait ()
71 .IR pthread_barrierattr_destroy ()
72 .IR pthread_barrierattr_init ()
73 .in
74 .fi
75 .\" .SS BE
76 .\" Batch environment.
77 .\" .SS CD
78 .\" C development.
79 .SS --- - POSIX_CHOWN_RESTRICTED
80 If this option is in effect (as it always is under POSIX.1-2001),
81 then only root may change the owner of a file, and nonroot can
82 set the group of a file only to one of the groups it belongs to.
83 This affects the following functions:
84 .P
85 .nf
86 .in +4n
87 .IR chown ()
88 .IR fchown ()
89 .in
90 .fi
91 .\" What about lchown() ?
92 .SS CS - _POSIX_CLOCK_SELECTION - _SC_CLOCK_SELECTION
93 This option implies the
94 .B _POSIX_TIMERS
95 option.
96 The following functions are present:
97 .P
98 .nf
99 .in +4n
100 .IR pthread_condattr_getclock ()
101 .IR pthread_condattr_setclock ()
102 .IR clock_nanosleep ()
103 .in
104 .fi
105 .P
106 If
107 .B CLOCK_REALTIME
108 is changed by the function
109 .IR clock_settime (),
110 then this affects all timers set for an absolute time.
111 .SS CPT - _POSIX_CPUTIME - _SC_CPUTIME
112 The
113 .B CLOCK_PROCESS_CPUTIME_ID
114 clock ID is supported.
115 The initial value of this clock is 0 for each process.
116 This option implies the
117 .B _POSIX_TIMERS
118 option.
119 The function
120 .IR clock_getcpuclockid ()
121 is present.
122 .\" .SS FD
123 .\" Fortran development
124 .\" .SS FR
125 .\" Fortran runtime
126 .SS --- - _POSIX_FILE_LOCKING - _SC_FILE_LOCKING
127 This option has been deleted.
128 Not in final XPG6.
129 .SS FSC - _POSIX_FSYNC - _SC_FSYNC
130 The function
131 .IR fsync ()
132 is present.
133 .SS IP6 - _POSIX_IPV6 - _SC_IPV6
134 Internet Protocol Version 6 is supported.
135 .SS --- - _POSIX_JOB_CONTROL - _SC_JOB_CONTROL
136 If this option is in effect (as it always is under POSIX.1-2001),
137 then the system implements POSIX-style job control,
138 and the following functions are present:
139 .P
140 .nf
141 .in +4n
142 .IR setpgid ()
143 .IR tcdrain ()
144 .IR tcflush ()
145 .IR tcgetpgrp ()
146 .IR tcsendbreak ()
147 .IR tcsetattr ()
148 .IR tcsetpgrp ()
149 .in
150 .fi
151 .SS MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES
152 Shared memory is supported.
153 The include file
154 .I <sys/mman.h>
155 is present.
156 The following functions are present:
157 .P
158 .nf
159 .in +4n
160 .IR mmap ()
161 .IR msync ()
162 .IR munmap ()
163 .in
164 .fi
165 .SS ML - _POSIX_MEMLOCK - _SC_MEMLOCK
166 Shared memory can be locked into core.
167 The following functions are present:
168 .P
169 .nf
170 .in +4n
171 .IR mlockall ()
172 .IR munlockall ()
173 .in
174 .fi
175 .SS MR/MLR - _POSIX_MEMLOCK_RANGE - _SC_MEMLOCK_RANGE
176 More precisely, ranges can be locked into core.
177 The following functions are present:
178 .P
179 .nf
180 .in +4n
181 .IR mlock ()
182 .IR munlock ()
183 .in
184 .fi
185 .SS MPR - _POSIX_MEMORY_PROTECTION - _SC_MEMORY_PROTECTION
186 The function
187 .IR mprotect ()
188 is present.
189 .SS MSG - _POSIX_MESSAGE_PASSING - _SC_MESSAGE_PASSING
190 The include file
191 .I <mqueue.h>
192 is present.
193 The following functions are present:
194 .P
195 .nf
196 .in +4n
197 .IR mq_close ()
198 .IR mq_getattr ()
199 .IR mq_notify ()
200 .IR mq_open ()
201 .IR mq_receive ()
202 .IR mq_send ()
203 .IR mq_setattr ()
204 .IR mq_unlink ()
205 .in
206 .fi
207 .SS MON - _POSIX_MONOTONIC_CLOCK - _SC_MONOTONIC_CLOCK
208 .B CLOCK_MONOTONIC
209 is supported.
210 This option implies the
211 .B _POSIX_TIMERS
212 option.
213 The following functions are affected:
214 .P
215 .nf
216 .in +4n
217 .IR aio_suspend ()
218 .IR clock_getres ()
219 .IR clock_gettime ()
220 .IR clock_settime ()
221 .IR timer_create ()
222 .in
223 .fi
224 .SS --- - _POSIX_MULTI_PROCESS - _SC_MULTI_PROCESS
225 This option has been deleted.
226 Not in final XPG6.
227 .\" .SS MX
228 .\" IEC 60559 Floating-Point Option.
229 .SS --- - _POSIX_NO_TRUNC
230 If this option is in effect (as it always is under POSIX.1-2001),
231 then pathname components longer than
232 .B NAME_MAX
233 are not truncated,
234 but give an error.
235 This property may be dependent on the path prefix of the component.
236 .SS PIO - _POSIX_PRIORITIZED_IO - _SC_PRIORITIZED_IO
237 This option says that one can specify priorities for asynchronous I/O.
238 This affects the functions
239 .P
240 .nf
241 .in +4n
242 .IR aio_read ()
243 .IR aio_write ()
244 .in
245 .fi
246 .SS PS - _POSIX_PRIORITY_SCHEDULING - _SC_PRIORITY_SCHEDULING
247 The include file
248 .I <sched.h>
249 is present.
250 The following functions are present:
251 .P
252 .nf
253 .in +4n
254 .IR sched_get_priority_max ()
255 .IR sched_get_priority_min ()
256 .IR sched_getparam ()
257 .IR sched_getscheduler ()
258 .IR sched_rr_get_interval ()
259 .IR sched_setparam ()
260 .IR sched_setscheduler ()
261 .IR sched_yield ()
262 .in
263 .fi
264 .P
265 If also
266 .B _POSIX_SPAWN
267 is in effect, then the following functions are present:
268 .P
269 .nf
270 .in +4n
271 .IR posix_spawnattr_getschedparam ()
272 .IR posix_spawnattr_getschedpolicy ()
273 .IR posix_spawnattr_setschedparam ()
274 .IR posix_spawnattr_setschedpolicy ()
275 .in
276 .fi
277 .SS RS - _POSIX_RAW_SOCKETS
278 Raw sockets are supported.
279 The following functions are affected:
280 .P
281 .nf
282 .in +4n
283 .IR getsockopt ()
284 .IR setsockopt ()
285 .in
286 .fi
287 .SS --- - _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS
288 This option implies the
289 .B _POSIX_THREADS
290 option.
291 Conversely,
292 under POSIX.1-2001 the
293 .B _POSIX_THREADS
294 option implies this option.
295 .P
296 The following functions are present:
297 .P
298 .in +4n
299 .nf
300 .IR pthread_rwlock_destroy ()
301 .IR pthread_rwlock_init ()
302 .IR pthread_rwlock_rdlock ()
303 .IR pthread_rwlock_tryrdlock ()
304 .IR pthread_rwlock_trywrlock ()
305 .IR pthread_rwlock_unlock ()
306 .IR pthread_rwlock_wrlock ()
307 .IR pthread_rwlockattr_destroy ()
308 .IR pthread_rwlockattr_init ()
309 .in
310 .fi
311 .SS RTS - _POSIX_REALTIME_SIGNALS - _SC_REALTIME_SIGNALS
312 Realtime signals are supported.
313 The following functions are present:
314 .P
315 .nf
316 .in +4n
317 .IR sigqueue ()
318 .IR sigtimedwait ()
319 .IR sigwaitinfo ()
320 .in
321 .fi
322 .SS --- - _POSIX_REGEXP - _SC_REGEXP
323 If this option is in effect (as it always is under POSIX.1-2001),
324 then POSIX regular expressions are supported
325 and the following functions are present:
326 .P
327 .nf
328 .in +4n
329 .IR regcomp ()
330 .IR regerror ()
331 .IR regexec ()
332 .IR regfree ()
333 .in
334 .fi
335 .SS --- - _POSIX_SAVED_IDS - _SC_SAVED_IDS
336 If this option is in effect (as it always is under POSIX.1-2001),
337 then a process has a saved set-user-ID and a saved set-group-ID.
338 The following functions are affected:
339 .P
340 .nf
341 .in +4n
342 .IR exec ()
343 .IR kill ()
344 .IR seteuid ()
345 .IR setegid ()
346 .IR setgid ()
347 .IR setuid ()
348 .in
349 .fi
350 .\" .SS SD
351 .\" Software development
352 .SS SEM - _POSIX_SEMAPHORES - _SC_SEMAPHORES
353 The include file
354 .I <semaphore.h>
355 is present.
356 The following functions are present:
357 .P
358 .nf
359 .in +4n
360 .IR sem_close ()
361 .IR sem_destroy ()
362 .IR sem_getvalue ()
363 .IR sem_init ()
364 .IR sem_open ()
365 .IR sem_post ()
366 .IR sem_trywait ()
367 .IR sem_unlink ()
368 .IR sem_wait ()
369 .in
370 .fi
371 .SS SHM - _POSIX_SHARED_MEMORY_OBJECTS - _SC_SHARED_MEMORY_OBJECTS
372 The following functions are present:
373 .P
374 .nf
375 .in +4n
376 .IR mmap ()
377 .IR munmap ()
378 .IR shm_open ()
379 .IR shm_unlink ()
380 .in
381 .fi
382 .SS --- - _POSIX_SHELL - _SC_SHELL
383 If this option is in effect (as it always is under POSIX.1-2001),
384 the function
385 .IR system ()
386 is present.
387 .SS SPN - _POSIX_SPAWN - _SC_SPAWN
388 This option describes support for process creation in a context where
389 it is difficult or impossible to use
390 .IR fork (),
391 for example, because no MMU is present.
392 .P
393 If
394 .B _POSIX_SPAWN
395 is in effect, then the include file
396 .I <spawn.h>
397 and the following functions are present:
398 .P
399 .nf
400 .in +4n
401 .IR posix_spawn ()
402 .IR posix_spawn_file_actions_addclose ()
403 .IR posix_spawn_file_actions_adddup2 ()
404 .IR posix_spawn_file_actions_addopen ()
405 .IR posix_spawn_file_actions_destroy ()
406 .IR posix_spawn_file_actions_init ()
407 .IR posix_spawnattr_destroy ()
408 .IR posix_spawnattr_getsigdefault ()
409 .IR posix_spawnattr_getflags ()
410 .IR posix_spawnattr_getpgroup ()
411 .IR posix_spawnattr_getsigmask ()
412 .IR posix_spawnattr_init ()
413 .IR posix_spawnattr_setsigdefault ()
414 .IR posix_spawnattr_setflags ()
415 .IR posix_spawnattr_setpgroup ()
416 .IR posix_spawnattr_setsigmask ()
417 .IR posix_spawnp ()
418 .in
419 .fi
420 .P
421 If also
422 .B _POSIX_PRIORITY_SCHEDULING
423 is in effect, then
424 the following functions are present:
425 .P
426 .nf
427 .in +4n
428 .IR posix_spawnattr_getschedparam ()
429 .IR posix_spawnattr_getschedpolicy ()
430 .IR posix_spawnattr_setschedparam ()
431 .IR posix_spawnattr_setschedpolicy ()
432 .in
433 .fi
434 .SS SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS
435 This option implies the
436 .B _POSIX_THREADS
437 and
438 .B _POSIX_THREAD_SAFE_FUNCTIONS
439 options.
440 The following functions are present:
441 .P
442 .nf
443 .in +4n
444 .IR pthread_spin_destroy ()
445 .IR pthread_spin_init ()
446 .IR pthread_spin_lock ()
447 .IR pthread_spin_trylock ()
448 .IR pthread_spin_unlock ()
449 .in -4n
450 .fi
451 .SS SS - _POSIX_SPORADIC_SERVER - _SC_SPORADIC_SERVER
452 The scheduling policy
453 .B SCHED_SPORADIC
454 is supported.
455 This option implies the
456 .B _POSIX_PRIORITY_SCHEDULING
457 option.
458 The following functions are affected:
459 .P
460 .nf
461 .in +4n
462 .IR sched_setparam ()
463 .IR sched_setscheduler ()
464 .in
465 .fi
466 .SS SIO - _POSIX_SYNCHRONIZED_IO - _SC_SYNCHRONIZED_IO
467 The following functions are affected:
468 .P
469 .nf
470 .in +4n
471 .IR open ()
472 .IR msync ()
473 .IR fsync ()
474 .IR fdatasync ()
475 .in
476 .fi
477 .SS TSA - _POSIX_THREAD_ATTR_STACKADDR - _SC_THREAD_ATTR_STACKADDR
478 The following functions are affected:
479 .P
480 .nf
481 .in +4n
482 .IR pthread_attr_getstack ()
483 .IR pthread_attr_getstackaddr ()
484 .IR pthread_attr_setstack ()
485 .IR pthread_attr_setstackaddr ()
486 .in
487 .fi
488 .SS TSS - _POSIX_THREAD_ATTR_STACKSIZE - _SC_THREAD_ATTR_STACKSIZE
489 The following functions are affected:
490 .P
491 .nf
492 .in +4n
493 .IR pthread_attr_getstack ()
494 .IR pthread_attr_getstacksize ()
495 .IR pthread_attr_setstack ()
496 .IR pthread_attr_setstacksize ()
497 .in
498 .fi
499 .SS TCT - _POSIX_THREAD_CPUTIME - _SC_THREAD_CPUTIME
500 The clockID CLOCK_THREAD_CPUTIME_ID is supported.
501 This option implies the
502 .B _POSIX_TIMERS
503 option.
504 The following functions are affected:
505 .P
506 .nf
507 .in +4n
508 .IR pthread_getcpuclockid ()
509 .IR clock_getres ()
510 .IR clock_gettime ()
511 .IR clock_settime ()
512 .IR timer_create ()
513 .in
514 .fi
515 .SS TPI - _POSIX_THREAD_PRIO_INHERIT - _SC_THREAD_PRIO_INHERIT
516 The following functions are affected:
517 .P
518 .nf
519 .in +4n
520 .IR pthread_mutexattr_getprotocol ()
521 .IR pthread_mutexattr_setprotocol ()
522 .in
523 .fi
524 .SS TPP - _POSIX_THREAD_PRIO_PROTECT - _SC_THREAD_PRIO_PROTECT
525 The following functions are affected:
526 .P
527 .nf
528 .in +4n
529 .IR pthread_mutex_getprioceiling ()
530 .IR pthread_mutex_setprioceiling ()
531 .IR pthread_mutexattr_getprioceiling ()
532 .IR pthread_mutexattr_getprotocol ()
533 .IR pthread_mutexattr_setprioceiling ()
534 .IR pthread_mutexattr_setprotocol ()
535 .in
536 .fi
537 .SS TPS - _POSIX_THREAD_PRIORITY_SCHEDULING - _SC_THREAD_PRIORITY_SCHEDULING
538 If this option is in effect, the different threads inside a process
539 can run with different priorities and/or different schedulers.
540 The following functions are affected:
541 .P
542 .nf
543 .in +4n
544 .IR pthread_attr_getinheritsched ()
545 .IR pthread_attr_getschedpolicy ()
546 .IR pthread_attr_getscope ()
547 .IR pthread_attr_setinheritsched ()
548 .IR pthread_attr_setschedpolicy ()
549 .IR pthread_attr_setscope ()
550 .IR pthread_getschedparam ()
551 .IR pthread_setschedparam ()
552 .IR pthread_setschedprio ()
553 .in
554 .fi
555 .SS TSH - _POSIX_THREAD_PROCESS_SHARED - _SC_THREAD_PROCESS_SHARED
556 The following functions are affected:
557 .P
558 .nf
559 .in +4n
560 .IR pthread_barrierattr_getpshared ()
561 .IR pthread_barrierattr_setpshared ()
562 .IR pthread_condattr_getpshared ()
563 .IR pthread_condattr_setpshared ()
564 .IR pthread_mutexattr_getpshared ()
565 .IR pthread_mutexattr_setpshared ()
566 .IR pthread_rwlockattr_getpshared ()
567 .IR pthread_rwlockattr_setpshared ()
568 .in
569 .fi
570 .SS TSF - _POSIX_THREAD_SAFE_FUNCTIONS - _SC_THREAD_SAFE_FUNCTIONS
571 The following functions are affected:
572 .P
573 .nf
574 .in +4n
575 .IR readdir_r ()
576 .IR getgrgid_r ()
577 .IR getgrnam_r ()
578 .IR getpwnam_r ()
579 .IR getpwuid_r ()
580 .IR flockfile ()
581 .IR ftrylockfile ()
582 .IR funlockfile ()
583 .IR getc_unlocked ()
584 .IR getchar_unlocked ()
585 .IR putc_unlocked ()
586 .IR putchar_unlocked ()
587 .IR rand_r ()
588 .IR strerror_r ()
589 .IR strtok_r ()
590 .IR asctime_r ()
591 .IR ctime_r ()
592 .IR gmtime_r ()
593 .IR localtime_r ()
594 .in
595 .fi
596 .SS TSP - _POSIX_THREAD_SPORADIC_SERVER - _SC_THREAD_SPORADIC_SERVER
597 This option implies the
598 .B _POSIX_THREAD_PRIORITY_SCHEDULING
599 option.
600 The following functions are affected:
601 .P
602 .nf
603 .in +4n
604 .IR sched_getparam ()
605 .IR sched_setparam ()
606 .IR sched_setscheduler ()
607 .in
608 .fi
609 .SS THR - _POSIX_THREADS - _SC_THREADS
610 Basic support for POSIX threads is available.
611 The following functions are present:
612 .P
613 .nf
614 .in +4n
615 .IR pthread_atfork ()
616 .IR pthread_attr_destroy ()
617 .IR pthread_attr_getdetachstate ()
618 .IR pthread_attr_getschedparam ()
619 .IR pthread_attr_init ()
620 .IR pthread_attr_setdetachstate ()
621 .IR pthread_attr_setschedparam ()
622 .IR pthread_cancel ()
623 .IR pthread_cleanup_push ()
624 .IR pthread_cleanup_pop ()
625 .IR pthread_cond_broadcast ()
626 .IR pthread_cond_destroy ()
627 .IR pthread_cond_init ()
628 .IR pthread_cond_signal ()
629 .IR pthread_cond_timedwait ()
630 .IR pthread_cond_wait ()
631 .IR pthread_condattr_destroy ()
632 .IR pthread_condattr_init ()
633 .IR pthread_create ()
634 .IR pthread_detach ()
635 .IR pthread_equal ()
636 .IR pthread_exit ()
637 .IR pthread_getspecific ()
638 .IR pthread_join ()
639 .IR pthread_key_create ()
640 .IR pthread_key_delete ()
641 .IR pthread_mutex_destroy ()
642 .IR pthread_mutex_init ()
643 .IR pthread_mutex_lock ()
644 .IR pthread_mutex_trylock ()
645 .IR pthread_mutex_unlock ()
646 .IR pthread_mutexattr_destroy ()
647 .IR pthread_mutexattr_init ()
648 .IR pthread_once ()
649 .IR pthread_rwlock_destroy ()
650 .IR pthread_rwlock_init ()
651 .IR pthread_rwlock_rdlock ()
652 .IR pthread_rwlock_tryrdlock ()
653 .IR pthread_rwlock_trywrlock ()
654 .IR pthread_rwlock_unlock ()
655 .IR pthread_rwlock_wrlock ()
656 .IR pthread_rwlockattr_destroy ()
657 .IR pthread_rwlockattr_init ()
658 .IR pthread_self ()
659 .IR pthread_setcancelstate ()
660 .IR pthread_setcanceltype ()
661 .IR pthread_setspecific ()
662 .IR pthread_testcancel ()
663 .in
664 .fi
665 .SS TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS
666 The following functions are present:
667 .P
668 .nf
669 .in +4n
670 .IR mq_timedreceive ()
671 .IR mq_timedsend ()
672 .IR pthread_mutex_timedlock ()
673 .IR pthread_rwlock_timedrdlock ()
674 .IR pthread_rwlock_timedwrlock ()
675 .IR sem_timedwait ()
676 .IR posix_trace_timedgetnext_event ()
677 .in
678 .fi
679 .SS TMR - _POSIX_TIMERS - _SC_TIMERS
680 The following functions are present:
681 .P
682 .nf
683 .in +4n
684 .IR clock_getres ()
685 .IR clock_gettime ()
686 .IR clock_settime ()
687 .IR nanosleep ()
688 .IR timer_create ()
689 .IR timer_delete ()
690 .IR timer_gettime ()
691 .IR timer_getoverrun ()
692 .IR timer_settime ()
693 .in
694 .fi
695 .SS TRC - _POSIX_TRACE - _SC_TRACE
696 POSIX tracing is available.
697 The following functions are present:
698 .P
699 .nf
700 .in +4n
701 .IR posix_trace_attr_destroy ()
702 .IR posix_trace_attr_getclockres ()
703 .IR posix_trace_attr_getcreatetime ()
704 .IR posix_trace_attr_getgenversion ()
705 .IR posix_trace_attr_getmaxdatasize ()
706 .IR posix_trace_attr_getmaxsystemeventsize ()
707 .IR posix_trace_attr_getmaxusereventsize ()
708 .IR posix_trace_attr_getname ()
709 .IR posix_trace_attr_getstreamfullpolicy ()
710 .IR posix_trace_attr_getstreamsize ()
711 .IR posix_trace_attr_init ()
712 .IR posix_trace_attr_setmaxdatasize ()
713 .IR posix_trace_attr_setname ()
714 .IR posix_trace_attr_setstreamsize ()
715 .IR posix_trace_attr_setstreamfullpolicy ()
716 .IR posix_trace_clear ()
717 .IR posix_trace_create ()
718 .IR posix_trace_event ()
719 .IR posix_trace_eventid_equal ()
720 .IR posix_trace_eventid_get_name ()
721 .IR posix_trace_eventid_open ()
722 .IR posix_trace_eventtypelist_getnext_id ()
723 .IR posix_trace_eventtypelist_rewind ()
724 .IR posix_trace_flush ()
725 .IR posix_trace_get_attr ()
726 .IR posix_trace_get_status ()
727 .IR posix_trace_getnext_event ()
728 .IR posix_trace_shutdown ()
729 .IR posix_trace_start ()
730 .IR posix_trace_stop ()
731 .IR posix_trace_trygetnext_event ()
732 .in
733 .fi
734 .SS TEF - _POSIX_TRACE_EVENT_FILTER - _SC_TRACE_EVENT_FILTER
735 This option implies the
736 .B _POSIX_TRACE
737 option.
738 The following functions are present:
739 .P
740 .nf
741 .in +4n
742 .IR posix_trace_eventset_add ()
743 .IR posix_trace_eventset_del ()
744 .IR posix_trace_eventset_empty ()
745 .IR posix_trace_eventset_fill ()
746 .IR posix_trace_eventset_ismember ()
747 .IR posix_trace_get_filter ()
748 .IR posix_trace_set_filter ()
749 .IR posix_trace_trid_eventid_open ()
750 .in
751 .fi
752 .SS TRI - _POSIX_TRACE_INHERIT - _SC_TRACE_INHERIT
753 Tracing children of the traced process is supported.
754 This option implies the
755 .B _POSIX_TRACE
756 option.
757 The following functions are present:
758 .P
759 .nf
760 .in +4n
761 .IR posix_trace_attr_getinherited ()
762 .IR posix_trace_attr_setinherited ()
763 .in
764 .fi
765 .SS TRL - _POSIX_TRACE_LOG - _SC_TRACE_LOG
766 This option implies the
767 .B _POSIX_TRACE
768 option.
769 The following functions are present:
770 .P
771 .nf
772 .in +4n
773 .IR posix_trace_attr_getlogfullpolicy ()
774 .IR posix_trace_attr_getlogsize ()
775 .IR posix_trace_attr_setlogfullpolicy ()
776 .IR posix_trace_attr_setlogsize ()
777 .IR posix_trace_close ()
778 .IR posix_trace_create_withlog ()
779 .IR posix_trace_open ()
780 .IR posix_trace_rewind ()
781 .in
782 .fi
783 .SS TYM - _POSIX_TYPED_MEMORY_OBJECTS - _SC_TYPED_MEMORY_OBJECT
784 The following functions are present:
785 .P
786 .nf
787 .in +4n
788 .IR posix_mem_offset ()
789 .IR posix_typed_mem_get_info ()
790 .IR posix_typed_mem_open ()
791 .in
792 .fi
793 .SS --- - _POSIX_VDISABLE
794 Always present (probably 0).
795 Value to set a changeable special control
796 character to indicate that it is disabled.
797 .SH X/OPEN SYSTEM INTERFACE EXTENSIONS
798 .SS XSI - _XOPEN_CRYPT - _SC_XOPEN_CRYPT
799 The following functions are present:
800 .P
801 .nf
802 .in +4n
803 .IR crypt ()
804 .IR encrypt ()
805 .IR setkey ()
806 .fi
807 .SS XSI - _XOPEN_REALTIME - _SC_XOPEN_REALTIME
808 This option implies the following options:
809 .P
810 .PD 0
811 .TP
812 .BR _POSIX_ASYNCHRONOUS_IO == 200112L
813 .TP
814 .B _POSIX_FSYNC
815 .TP
816 .B _POSIX_MAPPED_FILES
817 .TP
818 .BR _POSIX_MEMLOCK == 200112L
819 .TP
820 .BR _POSIX_MEMLOCK_RANGE == 200112L
821 .TP
822 .B _POSIX_MEMORY_PROTECTION
823 .TP
824 .BR _POSIX_MESSAGE_PASSING == 200112L
825 .TP
826 .B _POSIX_PRIORITIZED_IO
827 .TP
828 .BR _POSIX_PRIORITY_SCHEDULING == 200112L
829 .TP
830 .BR _POSIX_REALTIME_SIGNALS == 200112L
831 .TP
832 .BR _POSIX_SEMAPHORES == 200112L
833 .TP
834 .BR _POSIX_SHARED_MEMORY_OBJECTS == 200112L
835 .TP
836 .BR _POSIX_SYNCHRONIZED_IO == 200112L
837 .TP
838 .BR _POSIX_TIMERS == 200112L
839 .PD
840 .\"
841 .SS ADV - --- - ---
842 The Advanced Realtime option group implies that the following options
843 are all defined to 200112L:
844 .P
845 .PD 0
846 .TP
847 .B _POSIX_ADVISORY_INFO
848 .TP
849 .B _POSIX_CLOCK_SELECTION
850 (implies
851 .BR _POSIX_TIMERS )
852 .TP
853 .B _POSIX_CPUTIME
854 (implies
855 .BR _POSIX_TIMERS )
856 .TP
857 .B _POSIX_MONOTONIC_CLOCK
858 (implies
859 .BR _POSIX_TIMERS )
860 .TP
861 .B _POSIX_SPAWN
862 .TP
863 .B _POSIX_SPORADIC_SERVER
864 (implies
865 .BR _POSIX_PRIORITY_SCHEDULING )
866 .TP
867 .B _POSIX_TIMEOUTS
868 .TP
869 .B _POSIX_TYPED_MEMORY_OBJECTS
870 .PD
871 .\"
872 .SS XSI - _XOPEN_REALTIME_THREADS - _SC_XOPEN_REALTIME_THREADS
873 This option implies that the following options
874 are all defined to 200112L:
875 .P
876 .PD 0
877 .TP
878 .B _POSIX_THREAD_PRIO_INHERIT
879 .TP
880 .B _POSIX_THREAD_PRIO_PROTECT
881 .TP
882 .B _POSIX_THREAD_PRIORITY_SCHEDULING
883 .PD
884 .SS ADVANCED REALTIME THREADS - --- - ---
885 This option implies that the following options
886 are all defined to 200112L:
887 .P
888 .PD 0
889 .TP
890 .B _POSIX_BARRIERS
891 (implies
892 .BR _POSIX_THREADS ,
893 .BR _POSIX_THREAD_SAFE_FUNCTIONS )
894 .TP
895 .B _POSIX_SPIN_LOCKS
896 (implies
897 .BR _POSIX_THREADS ,
898 .BR _POSIX_THREAD_SAFE_FUNCTIONS )
899 .TP
900 .B _POSIX_THREAD_CPUTIME
901 (implies
902 .BR _POSIX_TIMERS )
903 .TP
904 .B _POSIX_THREAD_SPORADIC_SERVER
905 (implies
906 .BR _POSIX_THREAD_PRIORITY_SCHEDULING )
907 .PD
908 .\"
909 .SS TRACING - --- - ---
910 This option implies that the following options
911 are all defined to 200112L:
912 .P
913 .PD 0
914 .TP
915 .B _POSIX_TRACE
916 .TP
917 .B _POSIX_TRACE_EVENT_FILTER
918 .TP
919 .B _POSIX_TRACE_LOG
920 .TP
921 .B _POSIX_TRACE_INHERIT
922 .PD
923 .SS STREAMS - _XOPEN_STREAMS - _SC_XOPEN_STREAMS
924 The following functions are present:
925 .P
926 .nf
927 .in +4n
928 .IR fattach ()
929 .IR fdetach ()
930 .IR getmsg ()
931 .IR getpmsg ()
932 .IR ioctl ()
933 .IR isastream ()
934 .IR putmsg ()
935 .IR putpmsg ()
936 .in
937 .fi
938 .SS XSI - _XOPEN_LEGACY - _SC_XOPEN_LEGACY
939 Functions included in the legacy option group were previously mandatory,
940 but are now optional in this version.
941 The following functions are present:
942 .P
943 .nf
944 .in +4n
945 .IR bcmp ()
946 .IR bcopy ()
947 .IR bzero ()
948 .IR ecvt ()
949 .IR fcvt ()
950 .IR ftime ()
951 .IR gcvt ()
952 .IR getwd ()
953 .IR index ()
954 .IR mktemp ()
955 .IR rindex ()
956 .IR utimes ()
957 .IR wcswcs ()
958 .in
959 .fi
960 .SS XSI - _XOPEN_UNIX - _SC_XOPEN_UNIX
961 The following functions are present:
962 .P
963 .nf
964 .in +4n
965 .IR mmap ()
966 .IR munmap ()
967 .IR msync ()
968 .in
969 .fi
970 .P
971 This option implies the following options:
972 .P
973 .PD 0
974 .TP
975 .B _POSIX_FSYNC
976 .TP
977 .B _POSIX_MAPPED_FILES
978 .TP
979 .B _POSIX_MEMORY_PROTECTION
980 .TP
981 .B _POSIX_THREAD_ATTR_STACKADDR
982 .TP
983 .B _POSIX_THREAD_ATTR_STACKSIZE
984 .TP
985 .B _POSIX_THREAD_PROCESS_SHARED
986 .TP
987 .B _POSIX_THREAD_SAFE_FUNCTIONS
988 .TP
989 .B _POSIX_THREADS
990 .PD
991 .P
992 This option may imply the following options from the XSI option groups:
993 .P
994 .PD 0
995 .TP
996 .RB "Encryption (" _XOPEN_CRYPT )
997 .TP
998 .RB "Realtime (" _XOPEN_REALTIME )
999 .TP
1000 .RB "Advanced Realtime (" ADB )
1001 .TP
1002 .RB "Realtime Threads (" _XOPEN_REALTIME_THREADS )
1003 .TP
1004 .RB "Advanced Realtime Threads (" "ADVANCED REALTIME THREADS" )
1005 .TP
1006 .RB "Tracing (" TRACING )
1007 .TP
1008 .RB "XSI Streams (" STREAMS )
1009 .TP
1010 .RB "Legacy (" _XOPEN_LEGACY )
1011 .PD
1012 .SH SEE ALSO
1013 .BR sysconf (3),
1014 .BR standards (7)