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