Posix Option Codes

Reference
Some of the utilities in the Shell and Utilities volume of IEEE Std 1003.1-2001 and functions in the System Interfaces volume of IEEE Std 1003.1-2001 describe functionality that might not be fully portable to systems meeting the requirements for POSIX conformance (see the Base Definitions volume of IEEE Std 1003.1-2001, Chapter 2, Conformance).

Where optional, enhanced, or reduced functionality is specified, the text is shaded and a code in the margin identifies the nature of the option, extension, or warning (see Section1.8.1).  For maximum portability, an application should avoid such functionality.

There are four option codes that are "general-putpose".

OB, Obsolescent.  The functionality described may be withdrawn in a future version of the standard.  Strictly Conforming applications should not use these features.

OF, Output Format Incompletely Specified.  The format of the output produced by the utility is not fully specified.  It is therefore not possible to post-process this output in a consistent fashion.  Typical problems include unknown length of strings and unspecified field delimiters.

OH, Optional Header.  The header is not required on XSI-conformant systems, as the implementation could include it in one of the required headers.

XSI, XSI Extension.  This feature is required on all systems supporting the X/Open System Interfaces Extension.


Option Codes for Utilities

Option Code
Option Name
BE
Batch Environment Services and Utilities
CD
C-Language Development Utilities
FD
FORTRAN Development Utilities
FR
FORTRAN Runtime Utilities
SD
Software Development Utilities
UP
User Portability Utilities


Option Codes for Functions

Option Code
Option Name
ADV
Advisory Information
AIO
Asynchronous Input and Output
BAR
Barriers
CPT
Process CPU-Time Clocks
CS
Clock Selection
CX
Extension to the ISO C standard
FSC
File Synchronization
IP6
IPV6
MC1
= ADV and (MF or SHM)
MC2
= MF or SHM or MPR
MC3
= MF or SHM or TYM
MF
Memory Mapped Files
ML
Process Memory Locking
MLR
Range Memory Locking
MON
Monotonic Clock
MPR
Memory Protection
MSG
Message Passing
MX
IEC 60559 Floating-Point Option
PIO
Prioritized Input and Output
PS
Process Scheduling
RS
Raw Sockets
RTS
Realtime Signals Extension
SEM
Semaphores
SHM
Shared Memory Objects
SIO
Synchronized Input and Output
SPI
Spin Locks
SPN
Spawn
SS
Process Sporadic Server
TCT
Thread CPU-Time Clocks
TEF
Trace Event Filter
THR
Threads
TMO
Timeouts
TMR
Timers
TPI
Thread Priority Inheritance
TPP
Thread Priority Protection
TPS
Thread Execution Scheduling
TRC
Trace
TRI
Trace Inherit
TRL
Trace Log
TSA
Thread Stack Address Attribute
TSF
Thread-Safe Functions
TSH
Thread Process-Shared Synchronization
TSP
Thread Sporadic Server
TSS
Thread Stack Size Attribute
TYM
Typed Memory Objects
XSR
XSI STREAMS



Last revised, 27 Mar. 2008