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