info > posixoptions(7)

📖 NAME

posixoptions - optional parts of the POSIX standard

🚀 Quick Reference

Use CaseOption Constantsysconf Parameter
Check advisory info support_POSIX_ADVISORY_INFO_SC_ADVISORY_INFO
Check asynchronous I/O support_POSIX_ASYNCHRONOUS_IO_SC_ASYNCHRONOUS_IO
Check barrier support_POSIX_BARRIERS_SC_BARRIERS
Check clock selection support_POSIX_CLOCK_SELECTION_SC_CLOCK_SELECTION
Check CPU time support_POSIX_CPUTIME_SC_CPUTIME
Check fsync support_POSIX_FSYNC_SC_FSYNC
Check IPv6 support_POSIX_IPV6_SC_IPV6
Check job control support_POSIX_JOB_CONTROL_SC_JOB_CONTROL
Check mapped files support_POSIX_MAPPED_FILES_SC_MAPPED_FILES
Check memory locking support_POSIX_MEMLOCK_SC_MEMLOCK
Check memory locking range support_POSIX_MEMLOCK_RANGE_SC_MEMLOCK_RANGE
Check memory protection support_POSIX_MEMORY_PROTECTION_SC_MEMORY_PROTECTION
Check message passing support_POSIX_MESSAGE_PASSING_SC_MESSAGE_PASSING
Check monotonic clock support_POSIX_MONOTONIC_CLOCK_SC_MONOTONIC_CLOCK
Check prioritized I/O support_POSIX_PRIORITIZED_IO_SC_PRIORITIZED_IO
Check priority scheduling support_POSIX_PRIORITY_SCHEDULING_SC_PRIORITY_SCHEDULING
Check raw sockets support_POSIX_RAW_SOCKETS—
Check realtime signals support_POSIX_REALTIME_SIGNALS_SC_REALTIME_SIGNALS
Check semaphores support_POSIX_SEMAPHORES_SC_SEMAPHORES
Check shared memory objects support_POSIX_SHARED_MEMORY_OBJECTS_SC_SHARED_MEMORY_OBJECTS
Check spawn support_POSIX_SPAWN_SC_SPAWN
Check spin locks support_POSIX_SPIN_LOCKS_SC_SPIN_LOCKS
Check sporadic server support_POSIX_SPORADIC_SERVER_SC_SPORADIC_SERVER
Check synchronized I/O support_POSIX_SYNCHRONIZED_IO_SC_SYNCHRONIZED_IO
Check thread stack address support_POSIX_THREAD_ATTR_STACKADDR_SC_THREAD_ATTR_STACKADDR
Check thread stack size support_POSIX_THREAD_ATTR_STACKSIZE_SC_THREAD_ATTR_STACKSIZE
Check thread CPU time support_POSIX_THREAD_CPUTIME_SC_THREAD_CPUTIME
Check thread priority inheritance support_POSIX_THREAD_PRIO_INHERIT_SC_THREAD_PRIO_INHERIT
Check thread priority protection support_POSIX_THREAD_PRIO_PROTECT_SC_THREAD_PRIO_PROTECT
Check thread priority scheduling support_POSIX_THREAD_PRIORITY_SCHEDULING_SC_THREAD_PRIORITY_SCHEDULING
Check thread process shared support_POSIX_THREAD_PROCESS_SHARED_SC_THREAD_PROCESS_SHARED
Check thread safe functions support_POSIX_THREAD_SAFE_FUNCTIONS_SC_THREAD_SAFE_FUNCTIONS
Check thread sporadic server support_POSIX_THREAD_SPORADIC_SERVER_SC_THREAD_SPORADIC_SERVER
Check basic thread support_POSIX_THREADS_SC_THREADS
Check timeouts support_POSIX_TIMEOUTS_SC_TIMEOUTS
Check timers support_POSIX_TIMERS_SC_TIMERS
Check trace support_POSIX_TRACE_SC_TRACE
Check trace event filter support_POSIX_TRACE_EVENT_FILTER_SC_TRACE_EVENT_FILTER
Check trace inherit support_POSIX_TRACE_INHERIT_SC_TRACE_INHERIT
Check trace log support_POSIX_TRACE_LOG_SC_TRACE_LOG
Check typed memory objects support_POSIX_TYPED_MEMORY_OBJECTS_SC_TYPED_MEMORY_OBJECT

📝 DESCRIPTION

The POSIX standard (the information below is from POSIX.1-2001) describes a set of behaviors and interfaces for a compliant system. However, many interfaces are optional and there are feature test macros to test the availability of interfaces at compile time, and functions sysconf(3), fpathconf(3), pathconf(3), confstr(3) to do this at run time. From shell scripts one can use getconf(1). For more detail, see sysconf(3).

We give the name of the POSIX abbreviation, the option, the name of the sysconf(3) parameter used to inquire about the option, and possibly a very short description. Much more precise detail can be found in the POSIX standard itself, versions of which can nowadays be accessed freely on the web.

🔹 ADV - _POSIX_ADVISORY_INFO - _SC_ADVISORY_INFO

📋 The following advisory functions are present:

🔹 AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO

📋 The header <aio.h> is present. The following functions are present:

🔹 BAR - _POSIX_BARRIERS - _SC_BARRIERS

â„šī¸ This option implies the _POSIX_THREADS and _POSIX_THREAD_SAFE_FUNCTIONS options. The following functions are present:

🔹 POSIX_CHOWN_RESTRICTED (no abbreviation)

â„šī¸ If this option is in effect (as it always is under POSIX.1-2001), then only root may change the owner of a file, and nonroot can set the group of a file only to one of the groups it belongs to. This affects the following functions:

🔹 CS - _POSIX_CLOCK_SELECTION - _SC_CLOCK_SELECTION

â„šī¸ This option implies the _POSIX_TIMERS option. The following functions are present:

âš ī¸ If CLOCK_REALTIME is changed by the function clock_settime(), then this affects all timers set for an absolute time.

🔹 CPT - _POSIX_CPUTIME - _SC_CPUTIME

â„šī¸ The CLOCK_PROCESS_CPUTIME_ID clock ID is supported. The initial value of this clock is 0 for each process. This option implies the _POSIX_TIMERS option. The function clock_getcpuclockid() is present.

🔹 _POSIX_FILE_LOCKING - _SC_FILE_LOCKING

❌ This option has been deleted. Not in final XPG6.

🔹 FSC - _POSIX_FSYNC - _SC_FSYNC

📋 The function fsync() is present.

🔹 IP6 - _POSIX_IPV6 - _SC_IPV6

📋 Internet Protocol Version 6 is supported.

🔹 _POSIX_JOB_CONTROL - _SC_JOB_CONTROL

â„šī¸ If this option is in effect (as it always is under POSIX.1-2001), then the system implements POSIX-style job control, and the following functions are present:

🔹 MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES

â„šī¸ Shared memory is supported. The include file <sys/mman.h> is present. The following functions are present:

🔹 ML - _POSIX_MEMLOCK - _SC_MEMLOCK

â„šī¸ Shared memory can be locked into core. The following functions are present:

🔹 MR/MLR - _POSIX_MEMLOCK_RANGE - _SC_MEMLOCK_RANGE

â„šī¸ More precisely, ranges can be locked into core. The following functions are present:

🔹 MPR - _POSIX_MEMORY_PROTECTION - _SC_MEMORY_PROTECTION

📋 The function mprotect() is present.

🔹 MSG - _POSIX_MESSAGE_PASSING - _SC_MESSAGE_PASSING

📋 The include file <mqueue.h> is present. The following functions are present:

🔹 MON - _POSIX_MONOTONIC_CLOCK - _SC_MONOTONIC_CLOCK

â„šī¸ CLOCK_MONOTONIC is supported. This option implies the _POSIX_TIMERS option. The following functions are affected:

🔹 _POSIX_MULTI_PROCESS - _SC_MULTI_PROCESS

❌ This option has been deleted. Not in final XPG6.

🔹 _POSIX_NO_TRUNC

â„šī¸ If this option is in effect (as it always is under POSIX.1-2001), then pathname components longer than NAME_MAX are not truncated, but give an error. This property may be dependent on the path prefix of the component.

🔹 PIO - _POSIX_PRIORITIZED_IO - _SC_PRIORITIZED_IO

â„šī¸ This option says that one can specify priorities for asynchronous I/O. This affects the functions:

🔹 PS - _POSIX_PRIORITY_SCHEDULING - _SC_PRIORITY_SCHEDULING

📋 The include file <sched.h> is present. The following functions are present:

â„šī¸ If also _POSIX_SPAWN is in effect, then the following functions are present:

🔹 RS - _POSIX_RAW_SOCKETS

📋 Raw sockets are supported. The following functions are affected:

🔹 _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS

â„šī¸ This option implies the _POSIX_THREADS option. Conversely, under POSIX.1-2001 the _POSIX_THREADS option implies this option.

📋 The following functions are present:

🔹 RTS - _POSIX_REALTIME_SIGNALS - _SC_REALTIME_SIGNALS

📋 Realtime signals are supported. The following functions are present:

🔹 _POSIX_REGEXP - _SC_REGEXP

â„šī¸ If this option is in effect (as it always is under POSIX.1-2001), then POSIX regular expressions are supported and the following functions are present:

🔹 _POSIX_SAVED_IDS - _SC_SAVED_IDS

â„šī¸ If this option is in effect (as it always is under POSIX.1-2001), then a process has a saved set-user-ID and a saved set-group-ID. The following functions are affected:

🔹 SEM - _POSIX_SEMAPHORES - _SC_SEMAPHORES

📋 The include file <semaphore.h> is present. The following functions are present:

🔹 SHM - _POSIX_SHARED_MEMORY_OBJECTS - _SC_SHARED_MEMORY_OBJECTS

📋 The following functions are present:

🔹 _POSIX_SHELL - _SC_SHELL

â„šī¸ If this option is in effect (as it always is under POSIX.1-2001), the function system() is present.

🔹 SPN - _POSIX_SPAWN - _SC_SPAWN

â„šī¸ This option describes support for process creation in a context where it is difficult or impossible to use fork(), for example, because no MMU is present.

📋 If _POSIX_SPAWN is in effect, then the include file <spawn.h> and the following functions are present:

â„šī¸ If also _POSIX_PRIORITY_SCHEDULING is in effect, then the following functions are present:

🔹 SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS

â„šī¸ This option implies the _POSIX_THREADS and _POSIX_THREAD_SAFE_FUNCTIONS options. The following functions are present:

🔹 SS - _POSIX_SPORADIC_SERVER - _SC_SPORADIC_SERVER

â„šī¸ The scheduling policy SCHED_SPORADIC is supported. This option implies the _POSIX_PRIORITY_SCHEDULING option. The following functions are affected:

🔹 SIO - _POSIX_SYNCHRONIZED_IO - _SC_SYNCHRONIZED_IO

📋 The following functions are affected:

🔹 TSA - _POSIX_THREAD_ATTR_STACKADDR - _SC_THREAD_ATTR_STACKADDR

📋 The following functions are affected:

🔹 TSS - _POSIX_THREAD_ATTR_STACKSIZE - _SC_THREAD_ATTR_STACKSIZE

📋 The following functions are affected:

🔹 TCT - _POSIX_THREAD_CPUTIME - _SC_THREAD_CPUTIME

â„šī¸ The clockID CLOCK_THREAD_CPUTIME_ID is supported. This option implies the _POSIX_TIMERS option. The following functions are affected:

🔹 TPI - _POSIX_THREAD_PRIO_INHERIT - _SC_THREAD_PRIO_INHERIT

📋 The following functions are affected:

🔹 TPP - _POSIX_THREAD_PRIO_PROTECT - _SC_THREAD_PRIO_PROTECT

📋 The following functions are affected:

🔹 TPS - _POSIX_THREAD_PRIORITY_SCHEDULING - _SC_THREAD_PRIORITY_SCHEDULING

â„šī¸ If this option is in effect, the different threads inside a process can run with different priorities and/or different schedulers. The following functions are affected:

🔹 TSH - _POSIX_THREAD_PROCESS_SHARED - _SC_THREAD_PROCESS_SHARED

📋 The following functions are affected:

🔹 TSF - _POSIX_THREAD_SAFE_FUNCTIONS - _SC_THREAD_SAFE_FUNCTIONS

📋 The following functions are affected:

🔹 TSP - _POSIX_THREAD_SPORADIC_SERVER - _SC_THREAD_SPORADIC_SERVER

â„šī¸ This option implies the _POSIX_THREAD_PRIORITY_SCHEDULING option. The following functions are affected:

🔹 THR - _POSIX_THREADS - _SC_THREADS

📋 Basic support for POSIX threads is available. The following functions are present:

🔹 TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS

📋 The following functions are present:

🔹 TMR - _POSIX_TIMERS - _SC_TIMERS

📋 The following functions are present:

🔹 TRC - _POSIX_TRACE - _SC_TRACE

📋 POSIX tracing is available. The following functions are present:

🔹 TEF - _POSIX_TRACE_EVENT_FILTER - _SC_TRACE_EVENT_FILTER

â„šī¸ This option implies the _POSIX_TRACE option. The following functions are present:

🔹 TRI - _POSIX_TRACE_INHERIT - _SC_TRACE_INHERIT

â„šī¸ Tracing children of the traced process is supported. This option implies the _POSIX_TRACE option. The following functions are present:

🔹 TRL - _POSIX_TRACE_LOG - _SC_TRACE_LOG

â„šī¸ This option implies the _POSIX_TRACE option. The following functions are present:

🔹 TYM - _POSIX_TYPED_MEMORY_OBJECTS - _SC_TYPED_MEMORY_OBJECT

📋 The following functions are present:

🔹 _POSIX_VDISABLE

â„šī¸ Always present (probably 0). Value to set a changeable special control character to indicate that it is disabled.

🔗 X/OPEN SYSTEM INTERFACE EXTENSIONS

🔹 XSI - _XOPEN_CRYPT - _SC_XOPEN_CRYPT

📋 The following functions are present:

🔹 XSI - _XOPEN_REALTIME - _SC_XOPEN_REALTIME

â„šī¸ This option implies the following options:

🔹 ADV - (Advanced Realtime) - no sysconf constant

â„šī¸ The Advanced Realtime option group implies that the following options are all defined to 200112L:

🔹 XSI - _XOPEN_REALTIME_THREADS - _SC_XOPEN_REALTIME_THREADS

â„šī¸ This option implies that the following options are all defined to 200112L:

🔹 ADVANCED REALTIME THREADS

â„šī¸ This option implies that the following options are all defined to 200112L:

🔹 TRACING

â„šī¸ This option implies that the following options are all defined to 200112L:

🔹 STREAMS - _XOPEN_STREAMS - _SC_XOPEN_STREAMS

📋 The following functions are present:

🔹 XSI - _XOPEN_LEGACY - _SC_XOPEN_LEGACY

â„šī¸ Functions included in the legacy option group were previously mandatory, but are now optional in this version. The following functions are present:

🔹 XSI - _XOPEN_UNIX - _SC_XOPEN_UNIX

📋 The following functions are present:

â„šī¸ This option implies the following options:

â„šī¸ This option may imply the following options from the XSI option groups:

📚 SEE ALSO

📄 COLOPHON

This page is part of release 5.10 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.

2018-04-30

posixoptions(7)
📖 NAME 🚀 Quick Reference 📝 DESCRIPTION
🔹 ADV - _POSIX_ADVISORY_INFO - _SC_ADVISORY_INFO 🔹 AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO 🔹 BAR - _POSIX_BARRIERS - _SC_BARRIERS 🔹 POSIX_CHOWN_RESTRICTED (no abbreviation) 🔹 CS - _POSIX_CLOCK_SELECTION - _SC_CLOCK_SELECTION 🔹 CPT - _POSIX_CPUTIME - _SC_CPUTIME 🔹 _POSIX_FILE_LOCKING - _SC_FILE_LOCKING 🔹 FSC - _POSIX_FSYNC - _SC_FSYNC 🔹 IP6 - _POSIX_IPV6 - _SC_IPV6 🔹 _POSIX_JOB_CONTROL - _SC_JOB_CONTROL 🔹 MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES 🔹 ML - _POSIX_MEMLOCK - _SC_MEMLOCK 🔹 MR/MLR - _POSIX_MEMLOCK_RANGE - _SC_MEMLOCK_RANGE 🔹 MPR - _POSIX_MEMORY_PROTECTION - _SC_MEMORY_PROTECTION 🔹 MSG - _POSIX_MESSAGE_PASSING - _SC_MESSAGE_PASSING 🔹 MON - _POSIX_MONOTONIC_CLOCK - _SC_MONOTONIC_CLOCK 🔹 _POSIX_MULTI_PROCESS - _SC_MULTI_PROCESS 🔹 _POSIX_NO_TRUNC 🔹 PIO - _POSIX_PRIORITIZED_IO - _SC_PRIORITIZED_IO 🔹 PS - _POSIX_PRIORITY_SCHEDULING - _SC_PRIORITY_SCHEDULING 🔹 RS - _POSIX_RAW_SOCKETS 🔹 _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS 🔹 RTS - _POSIX_REALTIME_SIGNALS - _SC_REALTIME_SIGNALS 🔹 _POSIX_REGEXP - _SC_REGEXP 🔹 _POSIX_SAVED_IDS - _SC_SAVED_IDS 🔹 SEM - _POSIX_SEMAPHORES - _SC_SEMAPHORES 🔹 SHM - _POSIX_SHARED_MEMORY_OBJECTS - _SC_SHARED_MEMORY_OBJECTS 🔹 _POSIX_SHELL - _SC_SHELL 🔹 SPN - _POSIX_SPAWN - _SC_SPAWN 🔹 SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS 🔹 SS - _POSIX_SPORADIC_SERVER - _SC_SPORADIC_SERVER 🔹 SIO - _POSIX_SYNCHRONIZED_IO - _SC_SYNCHRONIZED_IO 🔹 TSA - _POSIX_THREAD_ATTR_STACKADDR - _SC_THREAD_ATTR_STACKADDR 🔹 TSS - _POSIX_THREAD_ATTR_STACKSIZE - _SC_THREAD_ATTR_STACKSIZE 🔹 TCT - _POSIX_THREAD_CPUTIME - _SC_THREAD_CPUTIME 🔹 TPI - _POSIX_THREAD_PRIO_INHERIT - _SC_THREAD_PRIO_INHERIT 🔹 TPP - _POSIX_THREAD_PRIO_PROTECT - _SC_THREAD_PRIO_PROTECT 🔹 TPS - _POSIX_THREAD_PRIORITY_SCHEDULING - _SC_THREAD_PRIORITY_SCHEDULING 🔹 TSH - _POSIX_THREAD_PROCESS_SHARED - _SC_THREAD_PROCESS_SHARED 🔹 TSF - _POSIX_THREAD_SAFE_FUNCTIONS - _SC_THREAD_SAFE_FUNCTIONS 🔹 TSP - _POSIX_THREAD_SPORADIC_SERVER - _SC_THREAD_SPORADIC_SERVER 🔹 THR - _POSIX_THREADS - _SC_THREADS 🔹 TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS 🔹 TMR - _POSIX_TIMERS - _SC_TIMERS 🔹 TRC - _POSIX_TRACE - _SC_TRACE 🔹 TEF - _POSIX_TRACE_EVENT_FILTER - _SC_TRACE_EVENT_FILTER 🔹 TRI - _POSIX_TRACE_INHERIT - _SC_TRACE_INHERIT 🔹 TRL - _POSIX_TRACE_LOG - _SC_TRACE_LOG 🔹 TYM - _POSIX_TYPED_MEMORY_OBJECTS - _SC_TYPED_MEMORY_OBJECT 🔹 _POSIX_VDISABLE
🔗 X/OPEN SYSTEM INTERFACE EXTENSIONS
🔹 XSI - _XOPEN_CRYPT - _SC_XOPEN_CRYPT 🔹 XSI - _XOPEN_REALTIME - _SC_XOPEN_REALTIME 🔹 ADV - (Advanced Realtime) - no sysconf constant 🔹 XSI - _XOPEN_REALTIME_THREADS - _SC_XOPEN_REALTIME_THREADS 🔹 ADVANCED REALTIME THREADS 🔹 TRACING 🔹 STREAMS - _XOPEN_STREAMS - _SC_XOPEN_STREAMS 🔹 XSI - _XOPEN_LEGACY - _SC_XOPEN_LEGACY 🔹 XSI - _XOPEN_UNIX - _SC_XOPEN_UNIX
📚 SEE ALSO 📄 COLOPHON

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-05 03:51 @216.73.216.89
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^