Advanced Programming in the UNIX® Environment

(lily) #1
ptg10805159

Section 2.2 UNIX Standardization 31


SUS
Codemandatory Symbolic constant Description

ADV _POSIX_ADVISORY_INFO advisory information (real-time)
CPT _POSIX_CPUTIME process CPU time clocks (real-time)
FSC • _POSIX_FSYNC file synchronization
IP6 _POSIX_IPV6 IPv6 interfaces
ML _POSIX_MEMLOCK process memory locking (real-time)
MLR _POSIX_MEMLOCK_RANGE memory range locking (real-time)
MON _POSIX_MONOTONIC_CLOCK monotonic clock (real-time)
MSG _POSIX_MESSAGE_PASSING message passing (real-time)
MX __STDC_IEC_559_ _ IEC 60559 floating-point option
PIO _POSIX_PRIORITIZED_IO prioritized input and output
PS _POSIX_PRIORITY_SCHEDULING process scheduling (real-time)
RPI _POSIX_THREAD_ROBUST_PRIO_INHERITrobust mutex priority inheritance (real-time)
RPP _POSIX_THREAD_ROBUST_PRIO_PROTECTrobust mutex priority protection (real-time)
RS _POSIX_RAW_SOCKETS raw sockets
SHM _POSIX_SHARED_MEMORY_OBJECTS shared memory objects (real-time)
SIO _POSIX_SYNCHRONIZED_IO synchronized input and output (real-time)
SPN _POSIX_SPAWN spawn (real-time)
SS _POSIX_SPORADIC_SERVER process sporadic server (real-time)
TCT _POSIX_THREAD_CPUTIME thread CPU time clocks (real-time)
TPI _POSIX_THREAD_PRIO_INHERIT nonrobust mutex priority inheritance (real-time)
TPP _POSIX_THREAD_PRIO_PROTECT nonrobust mutex priority protection (real-time)
TPS _POSIX_THREAD_PRIORITY_SCHEDULINGthread execution scheduling (real-time)
TSA • _POSIX_THREAD_ATTR_STACKADDR thread stack address attribute
TSH • _POSIX_THREAD_PROCESS_SHARED thread process-shared synchronization
TSP _POSIX_THREAD_SPORADIC_SERVER thread sporadic server (real-time)
TSS • _POSIX_THREAD_ATTR_STACKSIZE thread stack size address
TYM _POSIX_TYPED_MEMORY_OBJECTS typed memory objects (real-time)
XSI • _XOPEN_UNIX X/Open interfaces

Figure 2.5 POSIX.1 optional interface groups and codes

Several of the interfaces that areoptional for XSI-conforming systems aredivided
intooption groupsbased on common functionality, as follows:

•Encryption: denoted by the_XOPEN_CRYPTsymbolic constant
•Real-time: denoted by the_XOPEN_REALTIMEsymbolic constant
•Advanced real-time
•Real-time threads: denoted by_XOPEN_REALTIME_THREADS
•Advanced real-time threads

The Single UNIX Specification is a publication of The Open Group, which was
formed in 1996 as a merger of X/Open and the Open SoftwareFoundation(OSF),both
industry consortia. X/Open used to publish the X/Open Portability Guide,which
adopted specific standards and filled in the gaps wherefunctionality was missing. The
goal of these guides was to improve application portability beyond what was possible
by merely conforming to published standards.
Free download pdf