OS X 10.4 (Tiger) Darwin

Values of Version Test Macros, Constants for Options and Option Groups, Execution-Time Symbolic Constants from The Open Group Base Specifications Issue 6. IEEE Std 1003.1, 2004 Edition

The values shown here are for the system (from uname -a): Darwin MacMini.local 8.0.0 Darwin Kernel Version 8.0.0: Sat Mar 26 14:15:22 PST 2005; root:xnu-792.obj~1/RELEASE_PPC Power Macintosh powerpc

This web page has been generated automatically from the program unistd_opts, which itself was generated automatically from an awk script. To read more and to download the programs (BSD-licensed Open Source), go to www.basepath.com/aup.

For more information on the option groups, go to people.redhat.com/~drepper/posix-option-groups.html and The Single UNIX Specification, Version 3.


_POSIX_VERSION

Integer value indicating version of IEEE Std 1003.1 (C-language binding) to which the implementation conforms. For implementations conforming to IEEE Std 1003.1-2001, the value shall be 200112L.

_POSIX_VERSION = 200112 (always supported)


_POSIX2_VERSION

Integer value indicating version of the Shell and Utilities volume of IEEE Std 1003.1 to which the implementation conforms. For implementations conforming to IEEE Std 1003.1-2001, the value shall be 200112L.

_POSIX2_VERSION = 200112 (always supported)


_XOPEN_VERSION

Option Code: XSI

Integer value indicating version of the X/Open Portability Guide to which the implementation conforms. The value shall be 600.

_XOPEN_VERSION = 600 (always supported)


_POSIX_ADVISORY_INFO

Option Code: ADV

The implementation supports the Advisory Information option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_ADVISORY_INFO = -1 (never supported)


_POSIX_ASYNCHRONOUS_IO

Option Code: AIO

The implementation supports the Asynchronous Input and Output option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_ASYNCHRONOUS_IO = -1 (never supported)


_POSIX_BARRIERS

Option Code: BAR

The implementation supports the Barriers option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_BARRIERS = -1 (never supported)


_POSIX_CHOWN_RESTRICTED

The use of chown() and fchown() is restricted to a process with appropriate privileges, and to changing the group ID of a file only to the effective group ID of the process or to one of its supplementary group IDs. This symbol shall either be undefined or defined with a value other than -1.

_POSIX_CHOWN_RESTRICTED = 200112 (always supported)


_POSIX_CLOCK_SELECTION

Option Code: CS

The implementation supports the Clock Selection option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_CLOCK_SELECTION = -1 (never supported)


_POSIX_CPUTIME

Option Code: CPT

The implementation supports the Process CPU-Time Clocks option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_CPUTIME = -1 (never supported)


_POSIX_FSYNC

Option Code: FSC

The implementation supports the File Synchronization option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_FSYNC = -1 (never supported)


_POSIX_IPV6

The implementation supports the IPv6 option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_IPV6 = 200112 (always supported)


_POSIX_JOB_CONTROL

The implementation supports job control. This symbol shall always be set to a value greater than zero.

_POSIX_JOB_CONTROL = 200112 (always supported)


_POSIX_MAPPED_FILES

Option Code: MF

The implementation supports the Memory Mapped Files option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_MAPPED_FILES = 200112 (always supported)


_POSIX_MEMLOCK

Option Code: ML

The implementation supports the Process Memory Locking option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_MEMLOCK = -1 (never supported)


_POSIX_MEMLOCK_RANGE

Option Code: MR

The implementation supports the Range Memory Locking option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_MEMLOCK_RANGE = -1 (never supported)


_POSIX_MEMORY_PROTECTION

Option Code: MPR

The implementation supports the Memory Protection option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_MEMORY_PROTECTION = 200112 (always supported)


_POSIX_MESSAGE_PASSING

Option Code: MSG

The implementation supports the Message Passing option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_MESSAGE_PASSING = -1 (never supported)


_POSIX_MONOTONIC_CLOCK

Option Code: MON

The implementation supports the Monotonic Clock option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_MONOTONIC_CLOCK = -1 (never supported)


_POSIX_NO_TRUNC

Pathname components longer than {NAME_MAX} generate an error. This symbol shall either be undefined or defined with a value other than -1.

_POSIX_NO_TRUNC = 200112 (always supported)


_POSIX_PRIORITIZED_IO

Option Code: PIO

The implementation supports the Prioritized Input and Output option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_PRIORITIZED_IO = -1 (never supported)


_POSIX_PRIORITY_SCHEDULING

Option Code: PS

The implementation supports the Process Scheduling option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_PRIORITY_SCHEDULING = -1 (never supported)


_POSIX_RAW_SOCKETS

Option Code: RS

The implementation supports the Raw Sockets option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_RAW_SOCKETS = -1 (never supported)


_POSIX_READER_WRITER_LOCKS

Option Code: THR

The implementation supports the Read-Write Locks option. This is always set to a value greater than zero if the Threads option is supported. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_READER_WRITER_LOCKS = 200112 (always supported)


_POSIX_REALTIME_SIGNALS

Option Code: RTS

The implementation supports the Realtime Signals Extension option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_REALTIME_SIGNALS = -1 (never supported)


_POSIX_REGEXP

The implementation supports the Regular Expression Handling option. This symbol shall always be set to a value greater than zero.

_POSIX_REGEXP = 200112 (always supported)


_POSIX_SAVED_IDS

Each process has a saved set-user-ID and a saved set-group-ID. This symbol shall always be set to a value greater than zero.

_POSIX_SAVED_IDS = 200112 (always supported)


_POSIX_SEMAPHORES

Option Code: SEM

The implementation supports the Semaphores option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_SEMAPHORES = -1 (never supported)


_POSIX_SHARED_MEMORY_OBJECTS

Option Code: SHM

The implementation supports the Shared Memory Objects option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_SHARED_MEMORY_OBJECTS = -1 (never supported)


_POSIX_SHELL

The implementation supports the POSIX shell. This symbol shall always be set to a value greater than zero.

_POSIX_SHELL = 200112 (always supported)


_POSIX_SPAWN

Option Code: SPN

The implementation supports the Spawn option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_SPAWN = -1 (never supported)


_POSIX_SPIN_LOCKS

Option Code: SPI

The implementation supports the Spin Locks option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_SPIN_LOCKS = -1 (never supported)


_POSIX_SPORADIC_SERVER

Option Code: SS

The implementation supports the Process Sporadic Server option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_SPORADIC_SERVER = -1 (never supported)


_POSIX_SYNCHRONIZED_IO

Option Code: SIO

The implementation supports the Synchronized Input and Output option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_SYNCHRONIZED_IO = -1 (never supported)


_POSIX_THREAD_ATTR_STACKADDR

Option Code: TSA

The implementation supports the Thread Stack Address Attribute option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREAD_ATTR_STACKADDR = 200112 (always supported)


_POSIX_THREAD_ATTR_STACKSIZE

Option Code: TSS

The implementation supports the Thread Stack Size Attribute option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREAD_ATTR_STACKSIZE = 200112 (always supported)


_POSIX_THREAD_CPUTIME

Option Code: TCT

The implementation supports the Thread CPU-Time Clocks option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREAD_CPUTIME = -1 (never supported)


_POSIX_THREAD_PRIO_INHERIT

Option Code: TPI

The implementation supports the Thread Priority Inheritance option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREAD_PRIO_INHERIT = -1 (never supported)


_POSIX_THREAD_PRIO_PROTECT

Option Code: TPP

The implementation supports the Thread Priority Protection option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREAD_PRIO_PROTECT = -1 (never supported)


_POSIX_THREAD_PRIORITY_SCHEDULING

Option Code: TPS

The implementation supports the Thread Execution Scheduling option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREAD_PRIORITY_SCHEDULING = -1 (never supported)


_POSIX_THREAD_PROCESS_SHARED

Option Code: TSH

The implementation supports the Thread Process-Shared Synchronization option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREAD_PROCESS_SHARED = -1 (never supported)


_POSIX_THREAD_SAFE_FUNCTIONS

Option Code: TSF

The implementation supports the Thread-Safe Functions option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREAD_SAFE_FUNCTIONS = 200112 (always supported)


_POSIX_THREAD_SPORADIC_SERVER

Option Code: TSP

The implementation supports the Thread Sporadic Server option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREAD_SPORADIC_SERVER = -1 (never supported)


_POSIX_THREADS

Option Code: THR

The implementation supports the Threads option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_THREADS = 200112 (always supported)


_POSIX_TIMEOUTS

Option Code: TMO

The implementation supports the Timeouts option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_TIMEOUTS = -1 (never supported)


_POSIX_TIMERS

Option Code: TMR

The implementation supports the Timers option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_TIMERS = -1 (never supported)


_POSIX_TRACE

Option Code: TRC

The implementation supports the Trace option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_TRACE = -1 (never supported)


_POSIX_TRACE_EVENT_FILTER

Option Code: TEF

The implementation supports the Trace Event Filter option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_TRACE_EVENT_FILTER = -1 (never supported)


_POSIX_TRACE_INHERIT

Option Code: TRI

The implementation supports the Trace Inherit option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_TRACE_INHERIT = -1 (never supported)


_POSIX_TRACE_LOG

Option Code: TRL

The implementation supports the Trace Log option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_TRACE_LOG = -1 (never supported)


_POSIX_TYPED_MEMORY_OBJECTS

Option Code: TYM

The implementation supports the Typed Memory Objects option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX_TYPED_MEMORY_OBJECTS = -1 (never supported)


_POSIX_VDISABLE

This symbol shall be defined to be the value of a character that shall disable terminal special character handling as described in <termios.h>. This symbol shall always be set to a value other than -1.

_POSIX_VDISABLE = 255 (always supported)


_POSIX2_C_BIND

The implementation supports the C-Language Binding option. This symbol shall always have the value 200112L.

_POSIX2_C_BIND = 200112 (always supported)


_POSIX2_C_DEV

Option Code: CD

The implementation supports the C-Language Development Utilities option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_C_DEV = 200112 (always supported)


_POSIX2_CHAR_TERM

The implementation supports at least one terminal type.

_POSIX2_CHAR_TERM = 200112 (always supported)


_POSIX2_FORT_DEV

Option Code: FD

The implementation supports the FORTRAN Development Utilities option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_FORT_DEV = -1 (never supported)


_POSIX2_FORT_RUN

Option Code: FR

The implementation supports the FORTRAN Runtime Utilities option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_FORT_RUN = 200112 (always supported)


_POSIX2_LOCALEDEF

The implementation supports the creation of locales by the localedef utility. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_LOCALEDEF = 200112 (always supported)


_POSIX2_PBS

Option Code: BE

The implementation supports the Batch Environment Services and Utilities option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_PBS = -1 (never supported)


_POSIX2_PBS_ACCOUNTING

Option Code: BE

The implementation supports the Batch Accounting option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_PBS_ACCOUNTING = -1 (never supported)


_POSIX2_PBS_CHECKPOINT

Option Code: BE

The implementation supports the Batch Checkpoint/Restart option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_PBS_CHECKPOINT = -1 (never supported)


_POSIX2_PBS_LOCATE

Option Code: BE

The implementation supports the Locate Batch Job Request option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_PBS_LOCATE = -1 (never supported)


_POSIX2_PBS_MESSAGE

Option Code: BE

The implementation supports the Batch Job Message Request option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_PBS_MESSAGE = -1 (never supported)


_POSIX2_PBS_TRACK

Option Code: BE

The implementation supports the Track Batch Job Request option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_PBS_TRACK = -1 (never supported)


_POSIX2_SW_DEV

Option Code: SD

The implementation supports the Software Development Utilities option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_SW_DEV = 200112 (always supported)


_POSIX2_UPE

Option Code: UP

The implementation supports the User Portability Utilities option. If this symbol is defined in <unistd.h>, it shall be defined to be -1, 0, or 200112L. The value of this symbol reported by sysconf() shall either be -1 or 200112L.

_POSIX2_UPE = 200112 (always supported)


_POSIX_V6_ILP32_OFF32

The implementation provides a C-language compilation environment with 32-bit int, long, pointer, and off_t types.

_POSIX_V6_ILP32_OFF32 is undefined (feature may or may not be supported)


_POSIX_V6_ILP32_OFFBIG

The implementation provides a C-language compilation environment with 32-bit int, long, and pointer types and an off_t type using at least 64 bits.

_POSIX_V6_ILP32_OFFBIG is undefined (feature may or may not be supported)


_POSIX_V6_LP64_OFF64

The implementation provides a C-language compilation environment with 32-bit int and 64-bit long, pointer, and off_t types.

_POSIX_V6_LP64_OFF64 is undefined (feature may or may not be supported)


_POSIX_V6_LPBIG_OFFBIG

The implementation provides a C-language compilation environment with an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits.

_POSIX_V6_LPBIG_OFFBIG is undefined (feature may or may not be supported)


_XBS5_ILP32_OFF32

Option Code: XSI

(LEGACY) The implementation provides a C-language compilation environment with 32-bit int, long, pointer, and off_t types.

_XBS5_ILP32_OFF32 = -1 (never supported)


_XBS5_ILP32_OFFBIG

Option Code: XSI

(LEGACY) The implementation provides a C-language compilation environment with 32-bit int, long, and pointer types and an off_t type using at least 64 bits.

_XBS5_ILP32_OFFBIG = 1 (always supported)


_XBS5_LP64_OFF64

Option Code: XSI

(LEGACY) The implementation provides a C-language compilation environment with 32-bit int and 64-bit long, pointer, and off_t types.

_XBS5_LP64_OFF64 = 1 (always supported)


_XBS5_LPBIG_OFFBIG

Option Code: XSI

(LEGACY) The implementation provides a C-language compilation environment with an int type using at least 32 bits and long, pointer, and off_t types using at least 64 bits.

_XBS5_LPBIG_OFFBIG = 1 (always supported)


_XOPEN_CRYPT

Option Code: XSI

The implementation supports the X/Open Encryption Option Group.

_XOPEN_CRYPT = 1 (always supported)


_XOPEN_ENH_I18N

The implementation supports the Issue 4, Version 2 Enhanced Internationalization Option Group. This symbol shall always be set to a value other than -1.

_XOPEN_ENH_I18N = 1 (always supported)


_XOPEN_LEGACY

The implementation supports the Legacy Option Group.

_XOPEN_LEGACY = -1 (never supported)


_XOPEN_REALTIME

The implementation supports the X/Open Realtime Option Group.

_XOPEN_REALTIME = -1 (never supported)


_XOPEN_REALTIME_THREADS

The implementation supports the X/Open Realtime Threads Option Group.

_XOPEN_REALTIME_THREADS = -1 (never supported)


_XOPEN_SHM

The implementation supports the Issue 4, Version 2 Shared Memory Option Group. This symbol shall always be set to a value other than -1.

_XOPEN_SHM = 1 (always supported)


_XOPEN_STREAMS

The implementation supports the XSI STREAMS Option Group.

_XOPEN_STREAMS = -1 (never supported)


_XOPEN_UNIX

Option Code: XSI

The implementation supports the XSI extension.

_XOPEN_UNIX = 1 (always supported)


_POSIX_ASYNC_IO

Asynchronous input or output operations may be performed for the associated file.

_POSIX_ASYNC_IO is undefined (feature may or may not be supported)


_POSIX_PRIO_IO

Prioritized input or output operations may be performed for the associated file.

_POSIX_PRIO_IO is undefined (feature may or may not be supported)


_POSIX_SYNC_IO

Synchronized input or output operations may be performed for the associated file.

_POSIX_SYNC_IO is undefined (feature may or may not be supported)


End.