#include #include #include static char *interp(int n) { if (n == -1) return "never supported"; if (n == 0) return "may be supported; need to test at runtime"; if (n > 0) return "always supported"; return "interpretation unknown"; } int main(int argc, char *argv[]) { char uname[500]; if (fgets(uname, sizeof(uname), stdin) == NULL || argc < 2) { fprintf(stderr, "Usage: uname -a | unistd_opts heading\n"); exit(EXIT_FAILURE); } FILE *out = fopen("unistd_opts.html", "w"); fprintf(out, "

%s

\n", argv[1]); fprintf(out, "

Values of Version Test Macros, Constants for Options and Option Groups, Execution-Time Symbolic Constants\n"); fprintf(out, "from The Open Group Base Specifications Issue 6. IEEE Std 1003.1, 2004 Edition

\n"); fprintf(out, "

The values shown here are for the system (from uname -a): %s
\n", uname); fprintf(out, "

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

For more information on the option groups, go to\n"); fprintf(out, "people.redhat.com/~drepper/posix-option-groups.html\n"); fprintf(out, "and\n"); fprintf(out, "The Single UNIX Specification, Version 3.\n"); fprintf(out, "


%s

\n", "_POSIX_VERSION"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_VERSION fprintf(out, "

%s = %ld (%s)\n", "_POSIX_VERSION", (long)_POSIX_VERSION, interp(_POSIX_VERSION)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_VERSION"); #endif fprintf(out, "


%s

\n", "_POSIX2_VERSION"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_VERSION fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_VERSION", (long)_POSIX2_VERSION, interp(_POSIX2_VERSION)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_VERSION"); #endif fprintf(out, "


%s

\n", "_XOPEN_VERSION"); fprintf(out, "Option Code: %s\n", "XSI"); fprintf(out, "

%s\n", "Integer value indicating version of the X/Open Portability Guide to which the implementation conforms. The value shall be 600."); #ifdef _XOPEN_VERSION fprintf(out, "

%s = %ld (%s)\n", "_XOPEN_VERSION", (long)_XOPEN_VERSION, interp(_XOPEN_VERSION)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XOPEN_VERSION"); #endif fprintf(out, "


%s

\n", "_POSIX_ADVISORY_INFO"); fprintf(out, "Option Code: %s\n", "ADV"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_ADVISORY_INFO fprintf(out, "

%s = %ld (%s)\n", "_POSIX_ADVISORY_INFO", (long)_POSIX_ADVISORY_INFO, interp(_POSIX_ADVISORY_INFO)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_ADVISORY_INFO"); #endif fprintf(out, "


%s

\n", "_POSIX_ASYNCHRONOUS_IO"); fprintf(out, "Option Code: %s\n", "AIO"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_ASYNCHRONOUS_IO fprintf(out, "

%s = %ld (%s)\n", "_POSIX_ASYNCHRONOUS_IO", (long)_POSIX_ASYNCHRONOUS_IO, interp(_POSIX_ASYNCHRONOUS_IO)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_ASYNCHRONOUS_IO"); #endif fprintf(out, "


%s

\n", "_POSIX_BARRIERS"); fprintf(out, "Option Code: %s\n", "BAR"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_BARRIERS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_BARRIERS", (long)_POSIX_BARRIERS, interp(_POSIX_BARRIERS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_BARRIERS"); #endif fprintf(out, "


%s

\n", "_POSIX_CHOWN_RESTRICTED"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_CHOWN_RESTRICTED fprintf(out, "

%s = %ld (%s)\n", "_POSIX_CHOWN_RESTRICTED", (long)_POSIX_CHOWN_RESTRICTED, interp(_POSIX_CHOWN_RESTRICTED)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_CHOWN_RESTRICTED"); #endif fprintf(out, "


%s

\n", "_POSIX_CLOCK_SELECTION"); fprintf(out, "Option Code: %s\n", "CS"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_CLOCK_SELECTION fprintf(out, "

%s = %ld (%s)\n", "_POSIX_CLOCK_SELECTION", (long)_POSIX_CLOCK_SELECTION, interp(_POSIX_CLOCK_SELECTION)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_CLOCK_SELECTION"); #endif fprintf(out, "


%s

\n", "_POSIX_CPUTIME"); fprintf(out, "Option Code: %s\n", "CPT"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_CPUTIME fprintf(out, "

%s = %ld (%s)\n", "_POSIX_CPUTIME", (long)_POSIX_CPUTIME, interp(_POSIX_CPUTIME)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_CPUTIME"); #endif fprintf(out, "


%s

\n", "_POSIX_FSYNC"); fprintf(out, "Option Code: %s\n", "FSC"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_FSYNC fprintf(out, "

%s = %ld (%s)\n", "_POSIX_FSYNC", (long)_POSIX_FSYNC, interp(_POSIX_FSYNC)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_FSYNC"); #endif fprintf(out, "


%s

\n", "_POSIX_IPV6"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_IPV6 fprintf(out, "

%s = %ld (%s)\n", "_POSIX_IPV6", (long)_POSIX_IPV6, interp(_POSIX_IPV6)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_IPV6"); #endif fprintf(out, "


%s

\n", "_POSIX_JOB_CONTROL"); fprintf(out, "

%s\n", "The implementation supports job control. This symbol shall always be set to a value greater than zero."); #ifdef _POSIX_JOB_CONTROL fprintf(out, "

%s = %ld (%s)\n", "_POSIX_JOB_CONTROL", (long)_POSIX_JOB_CONTROL, interp(_POSIX_JOB_CONTROL)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_JOB_CONTROL"); #endif fprintf(out, "


%s

\n", "_POSIX_MAPPED_FILES"); fprintf(out, "Option Code: %s\n", "MF"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_MAPPED_FILES fprintf(out, "

%s = %ld (%s)\n", "_POSIX_MAPPED_FILES", (long)_POSIX_MAPPED_FILES, interp(_POSIX_MAPPED_FILES)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_MAPPED_FILES"); #endif fprintf(out, "


%s

\n", "_POSIX_MEMLOCK"); fprintf(out, "Option Code: %s\n", "ML"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_MEMLOCK fprintf(out, "

%s = %ld (%s)\n", "_POSIX_MEMLOCK", (long)_POSIX_MEMLOCK, interp(_POSIX_MEMLOCK)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_MEMLOCK"); #endif fprintf(out, "


%s

\n", "_POSIX_MEMLOCK_RANGE"); fprintf(out, "Option Code: %s\n", "MR"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_MEMLOCK_RANGE fprintf(out, "

%s = %ld (%s)\n", "_POSIX_MEMLOCK_RANGE", (long)_POSIX_MEMLOCK_RANGE, interp(_POSIX_MEMLOCK_RANGE)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_MEMLOCK_RANGE"); #endif fprintf(out, "


%s

\n", "_POSIX_MEMORY_PROTECTION"); fprintf(out, "Option Code: %s\n", "MPR"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_MEMORY_PROTECTION fprintf(out, "

%s = %ld (%s)\n", "_POSIX_MEMORY_PROTECTION", (long)_POSIX_MEMORY_PROTECTION, interp(_POSIX_MEMORY_PROTECTION)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_MEMORY_PROTECTION"); #endif fprintf(out, "


%s

\n", "_POSIX_MESSAGE_PASSING"); fprintf(out, "Option Code: %s\n", "MSG"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_MESSAGE_PASSING fprintf(out, "

%s = %ld (%s)\n", "_POSIX_MESSAGE_PASSING", (long)_POSIX_MESSAGE_PASSING, interp(_POSIX_MESSAGE_PASSING)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_MESSAGE_PASSING"); #endif fprintf(out, "


%s

\n", "_POSIX_MONOTONIC_CLOCK"); fprintf(out, "Option Code: %s\n", "MON"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_MONOTONIC_CLOCK fprintf(out, "

%s = %ld (%s)\n", "_POSIX_MONOTONIC_CLOCK", (long)_POSIX_MONOTONIC_CLOCK, interp(_POSIX_MONOTONIC_CLOCK)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_MONOTONIC_CLOCK"); #endif fprintf(out, "


%s

\n", "_POSIX_NO_TRUNC"); fprintf(out, "

%s\n", "Pathname components longer than {NAME_MAX} generate an error. This symbol shall either be undefined or defined with a value other than -1."); #ifdef _POSIX_NO_TRUNC fprintf(out, "

%s = %ld (%s)\n", "_POSIX_NO_TRUNC", (long)_POSIX_NO_TRUNC, interp(_POSIX_NO_TRUNC)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_NO_TRUNC"); #endif fprintf(out, "


%s

\n", "_POSIX_PRIORITIZED_IO"); fprintf(out, "Option Code: %s\n", "PIO"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_PRIORITIZED_IO fprintf(out, "

%s = %ld (%s)\n", "_POSIX_PRIORITIZED_IO", (long)_POSIX_PRIORITIZED_IO, interp(_POSIX_PRIORITIZED_IO)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_PRIORITIZED_IO"); #endif fprintf(out, "


%s

\n", "_POSIX_PRIORITY_SCHEDULING"); fprintf(out, "Option Code: %s\n", "PS"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_PRIORITY_SCHEDULING fprintf(out, "

%s = %ld (%s)\n", "_POSIX_PRIORITY_SCHEDULING", (long)_POSIX_PRIORITY_SCHEDULING, interp(_POSIX_PRIORITY_SCHEDULING)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_PRIORITY_SCHEDULING"); #endif fprintf(out, "


%s

\n", "_POSIX_RAW_SOCKETS"); fprintf(out, "Option Code: %s\n", "RS"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_RAW_SOCKETS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_RAW_SOCKETS", (long)_POSIX_RAW_SOCKETS, interp(_POSIX_RAW_SOCKETS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_RAW_SOCKETS"); #endif fprintf(out, "


%s

\n", "_POSIX_READER_WRITER_LOCKS"); fprintf(out, "Option Code: %s\n", "THR"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_READER_WRITER_LOCKS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_READER_WRITER_LOCKS", (long)_POSIX_READER_WRITER_LOCKS, interp(_POSIX_READER_WRITER_LOCKS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_READER_WRITER_LOCKS"); #endif fprintf(out, "


%s

\n", "_POSIX_REALTIME_SIGNALS"); fprintf(out, "Option Code: %s\n", "RTS"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_REALTIME_SIGNALS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_REALTIME_SIGNALS", (long)_POSIX_REALTIME_SIGNALS, interp(_POSIX_REALTIME_SIGNALS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_REALTIME_SIGNALS"); #endif fprintf(out, "


%s

\n", "_POSIX_REGEXP"); fprintf(out, "

%s\n", "The implementation supports the Regular Expression Handling option. This symbol shall always be set to a value greater than zero."); #ifdef _POSIX_REGEXP fprintf(out, "

%s = %ld (%s)\n", "_POSIX_REGEXP", (long)_POSIX_REGEXP, interp(_POSIX_REGEXP)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_REGEXP"); #endif fprintf(out, "


%s

\n", "_POSIX_SAVED_IDS"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_SAVED_IDS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_SAVED_IDS", (long)_POSIX_SAVED_IDS, interp(_POSIX_SAVED_IDS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_SAVED_IDS"); #endif fprintf(out, "


%s

\n", "_POSIX_SEMAPHORES"); fprintf(out, "Option Code: %s\n", "SEM"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_SEMAPHORES fprintf(out, "

%s = %ld (%s)\n", "_POSIX_SEMAPHORES", (long)_POSIX_SEMAPHORES, interp(_POSIX_SEMAPHORES)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_SEMAPHORES"); #endif fprintf(out, "


%s

\n", "_POSIX_SHARED_MEMORY_OBJECTS"); fprintf(out, "Option Code: %s\n", "SHM"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_SHARED_MEMORY_OBJECTS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_SHARED_MEMORY_OBJECTS", (long)_POSIX_SHARED_MEMORY_OBJECTS, interp(_POSIX_SHARED_MEMORY_OBJECTS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_SHARED_MEMORY_OBJECTS"); #endif fprintf(out, "


%s

\n", "_POSIX_SHELL"); fprintf(out, "

%s\n", "The implementation supports the POSIX shell. This symbol shall always be set to a value greater than zero."); #ifdef _POSIX_SHELL fprintf(out, "

%s = %ld (%s)\n", "_POSIX_SHELL", (long)_POSIX_SHELL, interp(_POSIX_SHELL)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_SHELL"); #endif fprintf(out, "


%s

\n", "_POSIX_SPAWN"); fprintf(out, "Option Code: %s\n", "SPN"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_SPAWN fprintf(out, "

%s = %ld (%s)\n", "_POSIX_SPAWN", (long)_POSIX_SPAWN, interp(_POSIX_SPAWN)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_SPAWN"); #endif fprintf(out, "


%s

\n", "_POSIX_SPIN_LOCKS"); fprintf(out, "Option Code: %s\n", "SPI"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_SPIN_LOCKS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_SPIN_LOCKS", (long)_POSIX_SPIN_LOCKS, interp(_POSIX_SPIN_LOCKS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_SPIN_LOCKS"); #endif fprintf(out, "


%s

\n", "_POSIX_SPORADIC_SERVER"); fprintf(out, "Option Code: %s\n", "SS"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_SPORADIC_SERVER fprintf(out, "

%s = %ld (%s)\n", "_POSIX_SPORADIC_SERVER", (long)_POSIX_SPORADIC_SERVER, interp(_POSIX_SPORADIC_SERVER)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_SPORADIC_SERVER"); #endif fprintf(out, "


%s

\n", "_POSIX_SYNCHRONIZED_IO"); fprintf(out, "Option Code: %s\n", "SIO"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_SYNCHRONIZED_IO fprintf(out, "

%s = %ld (%s)\n", "_POSIX_SYNCHRONIZED_IO", (long)_POSIX_SYNCHRONIZED_IO, interp(_POSIX_SYNCHRONIZED_IO)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_SYNCHRONIZED_IO"); #endif fprintf(out, "


%s

\n", "_POSIX_THREAD_ATTR_STACKADDR"); fprintf(out, "Option Code: %s\n", "TSA"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREAD_ATTR_STACKADDR fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREAD_ATTR_STACKADDR", (long)_POSIX_THREAD_ATTR_STACKADDR, interp(_POSIX_THREAD_ATTR_STACKADDR)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREAD_ATTR_STACKADDR"); #endif fprintf(out, "


%s

\n", "_POSIX_THREAD_ATTR_STACKSIZE"); fprintf(out, "Option Code: %s\n", "TSS"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREAD_ATTR_STACKSIZE fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREAD_ATTR_STACKSIZE", (long)_POSIX_THREAD_ATTR_STACKSIZE, interp(_POSIX_THREAD_ATTR_STACKSIZE)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREAD_ATTR_STACKSIZE"); #endif fprintf(out, "


%s

\n", "_POSIX_THREAD_CPUTIME"); fprintf(out, "Option Code: %s\n", "TCT"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREAD_CPUTIME fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREAD_CPUTIME", (long)_POSIX_THREAD_CPUTIME, interp(_POSIX_THREAD_CPUTIME)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREAD_CPUTIME"); #endif fprintf(out, "


%s

\n", "_POSIX_THREAD_PRIO_INHERIT"); fprintf(out, "Option Code: %s\n", "TPI"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREAD_PRIO_INHERIT fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREAD_PRIO_INHERIT", (long)_POSIX_THREAD_PRIO_INHERIT, interp(_POSIX_THREAD_PRIO_INHERIT)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREAD_PRIO_INHERIT"); #endif fprintf(out, "


%s

\n", "_POSIX_THREAD_PRIO_PROTECT"); fprintf(out, "Option Code: %s\n", "TPP"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREAD_PRIO_PROTECT fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREAD_PRIO_PROTECT", (long)_POSIX_THREAD_PRIO_PROTECT, interp(_POSIX_THREAD_PRIO_PROTECT)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREAD_PRIO_PROTECT"); #endif fprintf(out, "


%s

\n", "_POSIX_THREAD_PRIORITY_SCHEDULING"); fprintf(out, "Option Code: %s\n", "TPS"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREAD_PRIORITY_SCHEDULING fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREAD_PRIORITY_SCHEDULING", (long)_POSIX_THREAD_PRIORITY_SCHEDULING, interp(_POSIX_THREAD_PRIORITY_SCHEDULING)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREAD_PRIORITY_SCHEDULING"); #endif fprintf(out, "


%s

\n", "_POSIX_THREAD_PROCESS_SHARED"); fprintf(out, "Option Code: %s\n", "TSH"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREAD_PROCESS_SHARED fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREAD_PROCESS_SHARED", (long)_POSIX_THREAD_PROCESS_SHARED, interp(_POSIX_THREAD_PROCESS_SHARED)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREAD_PROCESS_SHARED"); #endif fprintf(out, "


%s

\n", "_POSIX_THREAD_SAFE_FUNCTIONS"); fprintf(out, "Option Code: %s\n", "TSF"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREAD_SAFE_FUNCTIONS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREAD_SAFE_FUNCTIONS", (long)_POSIX_THREAD_SAFE_FUNCTIONS, interp(_POSIX_THREAD_SAFE_FUNCTIONS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREAD_SAFE_FUNCTIONS"); #endif fprintf(out, "


%s

\n", "_POSIX_THREAD_SPORADIC_SERVER"); fprintf(out, "Option Code: %s\n", "TSP"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREAD_SPORADIC_SERVER fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREAD_SPORADIC_SERVER", (long)_POSIX_THREAD_SPORADIC_SERVER, interp(_POSIX_THREAD_SPORADIC_SERVER)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREAD_SPORADIC_SERVER"); #endif fprintf(out, "


%s

\n", "_POSIX_THREADS"); fprintf(out, "Option Code: %s\n", "THR"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_THREADS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_THREADS", (long)_POSIX_THREADS, interp(_POSIX_THREADS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_THREADS"); #endif fprintf(out, "


%s

\n", "_POSIX_TIMEOUTS"); fprintf(out, "Option Code: %s\n", "TMO"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_TIMEOUTS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_TIMEOUTS", (long)_POSIX_TIMEOUTS, interp(_POSIX_TIMEOUTS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_TIMEOUTS"); #endif fprintf(out, "


%s

\n", "_POSIX_TIMERS"); fprintf(out, "Option Code: %s\n", "TMR"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_TIMERS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_TIMERS", (long)_POSIX_TIMERS, interp(_POSIX_TIMERS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_TIMERS"); #endif fprintf(out, "


%s

\n", "_POSIX_TRACE"); fprintf(out, "Option Code: %s\n", "TRC"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_TRACE fprintf(out, "

%s = %ld (%s)\n", "_POSIX_TRACE", (long)_POSIX_TRACE, interp(_POSIX_TRACE)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_TRACE"); #endif fprintf(out, "


%s

\n", "_POSIX_TRACE_EVENT_FILTER"); fprintf(out, "Option Code: %s\n", "TEF"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_TRACE_EVENT_FILTER fprintf(out, "

%s = %ld (%s)\n", "_POSIX_TRACE_EVENT_FILTER", (long)_POSIX_TRACE_EVENT_FILTER, interp(_POSIX_TRACE_EVENT_FILTER)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_TRACE_EVENT_FILTER"); #endif fprintf(out, "


%s

\n", "_POSIX_TRACE_INHERIT"); fprintf(out, "Option Code: %s\n", "TRI"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_TRACE_INHERIT fprintf(out, "

%s = %ld (%s)\n", "_POSIX_TRACE_INHERIT", (long)_POSIX_TRACE_INHERIT, interp(_POSIX_TRACE_INHERIT)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_TRACE_INHERIT"); #endif fprintf(out, "


%s

\n", "_POSIX_TRACE_LOG"); fprintf(out, "Option Code: %s\n", "TRL"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_TRACE_LOG fprintf(out, "

%s = %ld (%s)\n", "_POSIX_TRACE_LOG", (long)_POSIX_TRACE_LOG, interp(_POSIX_TRACE_LOG)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_TRACE_LOG"); #endif fprintf(out, "


%s

\n", "_POSIX_TYPED_MEMORY_OBJECTS"); fprintf(out, "Option Code: %s\n", "TYM"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_TYPED_MEMORY_OBJECTS fprintf(out, "

%s = %ld (%s)\n", "_POSIX_TYPED_MEMORY_OBJECTS", (long)_POSIX_TYPED_MEMORY_OBJECTS, interp(_POSIX_TYPED_MEMORY_OBJECTS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_TYPED_MEMORY_OBJECTS"); #endif fprintf(out, "


%s

\n", "_POSIX_VDISABLE"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_VDISABLE fprintf(out, "

%s = %ld (%s)\n", "_POSIX_VDISABLE", (long)_POSIX_VDISABLE, interp(_POSIX_VDISABLE)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_VDISABLE"); #endif fprintf(out, "


%s

\n", "_POSIX2_C_BIND"); fprintf(out, "

%s\n", "The implementation supports the C-Language Binding option. This symbol shall always have the value 200112L."); #ifdef _POSIX2_C_BIND fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_C_BIND", (long)_POSIX2_C_BIND, interp(_POSIX2_C_BIND)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_C_BIND"); #endif fprintf(out, "


%s

\n", "_POSIX2_C_DEV"); fprintf(out, "Option Code: %s\n", "CD"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_C_DEV fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_C_DEV", (long)_POSIX2_C_DEV, interp(_POSIX2_C_DEV)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_C_DEV"); #endif fprintf(out, "


%s

\n", "_POSIX2_CHAR_TERM"); fprintf(out, "

%s\n", "The implementation supports at least one terminal type."); #ifdef _POSIX2_CHAR_TERM fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_CHAR_TERM", (long)_POSIX2_CHAR_TERM, interp(_POSIX2_CHAR_TERM)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_CHAR_TERM"); #endif fprintf(out, "


%s

\n", "_POSIX2_FORT_DEV"); fprintf(out, "Option Code: %s\n", "FD"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_FORT_DEV fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_FORT_DEV", (long)_POSIX2_FORT_DEV, interp(_POSIX2_FORT_DEV)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_FORT_DEV"); #endif fprintf(out, "


%s

\n", "_POSIX2_FORT_RUN"); fprintf(out, "Option Code: %s\n", "FR"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_FORT_RUN fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_FORT_RUN", (long)_POSIX2_FORT_RUN, interp(_POSIX2_FORT_RUN)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_FORT_RUN"); #endif fprintf(out, "


%s

\n", "_POSIX2_LOCALEDEF"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_LOCALEDEF fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_LOCALEDEF", (long)_POSIX2_LOCALEDEF, interp(_POSIX2_LOCALEDEF)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_LOCALEDEF"); #endif fprintf(out, "


%s

\n", "_POSIX2_PBS"); fprintf(out, "Option Code: %s\n", "BE"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_PBS fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_PBS", (long)_POSIX2_PBS, interp(_POSIX2_PBS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_PBS"); #endif fprintf(out, "


%s

\n", "_POSIX2_PBS_ACCOUNTING"); fprintf(out, "Option Code: %s\n", "BE"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_PBS_ACCOUNTING fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_PBS_ACCOUNTING", (long)_POSIX2_PBS_ACCOUNTING, interp(_POSIX2_PBS_ACCOUNTING)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_PBS_ACCOUNTING"); #endif fprintf(out, "


%s

\n", "_POSIX2_PBS_CHECKPOINT"); fprintf(out, "Option Code: %s\n", "BE"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_PBS_CHECKPOINT fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_PBS_CHECKPOINT", (long)_POSIX2_PBS_CHECKPOINT, interp(_POSIX2_PBS_CHECKPOINT)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_PBS_CHECKPOINT"); #endif fprintf(out, "


%s

\n", "_POSIX2_PBS_LOCATE"); fprintf(out, "Option Code: %s\n", "BE"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_PBS_LOCATE fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_PBS_LOCATE", (long)_POSIX2_PBS_LOCATE, interp(_POSIX2_PBS_LOCATE)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_PBS_LOCATE"); #endif fprintf(out, "


%s

\n", "_POSIX2_PBS_MESSAGE"); fprintf(out, "Option Code: %s\n", "BE"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_PBS_MESSAGE fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_PBS_MESSAGE", (long)_POSIX2_PBS_MESSAGE, interp(_POSIX2_PBS_MESSAGE)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_PBS_MESSAGE"); #endif fprintf(out, "


%s

\n", "_POSIX2_PBS_TRACK"); fprintf(out, "Option Code: %s\n", "BE"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_PBS_TRACK fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_PBS_TRACK", (long)_POSIX2_PBS_TRACK, interp(_POSIX2_PBS_TRACK)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_PBS_TRACK"); #endif fprintf(out, "


%s

\n", "_POSIX2_SW_DEV"); fprintf(out, "Option Code: %s\n", "SD"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_SW_DEV fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_SW_DEV", (long)_POSIX2_SW_DEV, interp(_POSIX2_SW_DEV)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_SW_DEV"); #endif fprintf(out, "


%s

\n", "_POSIX2_UPE"); fprintf(out, "Option Code: %s\n", "UP"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX2_UPE fprintf(out, "

%s = %ld (%s)\n", "_POSIX2_UPE", (long)_POSIX2_UPE, interp(_POSIX2_UPE)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX2_UPE"); #endif fprintf(out, "


%s

\n", "_POSIX_V6_ILP32_OFF32"); fprintf(out, "

%s\n", "The implementation provides a C-language compilation environment with 32-bit int, long, pointer, and off_t types."); #ifdef _POSIX_V6_ILP32_OFF32 fprintf(out, "

%s = %ld (%s)\n", "_POSIX_V6_ILP32_OFF32", (long)_POSIX_V6_ILP32_OFF32, interp(_POSIX_V6_ILP32_OFF32)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_V6_ILP32_OFF32"); #endif fprintf(out, "


%s

\n", "_POSIX_V6_ILP32_OFFBIG"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_V6_ILP32_OFFBIG fprintf(out, "

%s = %ld (%s)\n", "_POSIX_V6_ILP32_OFFBIG", (long)_POSIX_V6_ILP32_OFFBIG, interp(_POSIX_V6_ILP32_OFFBIG)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_V6_ILP32_OFFBIG"); #endif fprintf(out, "


%s

\n", "_POSIX_V6_LP64_OFF64"); fprintf(out, "

%s\n", "The implementation provides a C-language compilation environment with 32-bit int and 64-bit long, pointer, and off_t types."); #ifdef _POSIX_V6_LP64_OFF64 fprintf(out, "

%s = %ld (%s)\n", "_POSIX_V6_LP64_OFF64", (long)_POSIX_V6_LP64_OFF64, interp(_POSIX_V6_LP64_OFF64)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_V6_LP64_OFF64"); #endif fprintf(out, "


%s

\n", "_POSIX_V6_LPBIG_OFFBIG"); fprintf(out, "

%s\n", "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."); #ifdef _POSIX_V6_LPBIG_OFFBIG fprintf(out, "

%s = %ld (%s)\n", "_POSIX_V6_LPBIG_OFFBIG", (long)_POSIX_V6_LPBIG_OFFBIG, interp(_POSIX_V6_LPBIG_OFFBIG)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_V6_LPBIG_OFFBIG"); #endif fprintf(out, "


%s

\n", "_XBS5_ILP32_OFF32"); fprintf(out, "Option Code: %s\n", "XSI"); fprintf(out, "

%s\n", "(LEGACY) The implementation provides a C-language compilation environment with 32-bit int, long, pointer, and off_t types."); #ifdef _XBS5_ILP32_OFF32 fprintf(out, "

%s = %ld (%s)\n", "_XBS5_ILP32_OFF32", (long)_XBS5_ILP32_OFF32, interp(_XBS5_ILP32_OFF32)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XBS5_ILP32_OFF32"); #endif fprintf(out, "


%s

\n", "_XBS5_ILP32_OFFBIG"); fprintf(out, "Option Code: %s\n", "XSI"); fprintf(out, "

%s\n", "(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."); #ifdef _XBS5_ILP32_OFFBIG fprintf(out, "

%s = %ld (%s)\n", "_XBS5_ILP32_OFFBIG", (long)_XBS5_ILP32_OFFBIG, interp(_XBS5_ILP32_OFFBIG)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XBS5_ILP32_OFFBIG"); #endif fprintf(out, "


%s

\n", "_XBS5_LP64_OFF64"); fprintf(out, "Option Code: %s\n", "XSI"); fprintf(out, "

%s\n", "(LEGACY) The implementation provides a C-language compilation environment with 32-bit int and 64-bit long, pointer, and off_t types."); #ifdef _XBS5_LP64_OFF64 fprintf(out, "

%s = %ld (%s)\n", "_XBS5_LP64_OFF64", (long)_XBS5_LP64_OFF64, interp(_XBS5_LP64_OFF64)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XBS5_LP64_OFF64"); #endif fprintf(out, "


%s

\n", "_XBS5_LPBIG_OFFBIG"); fprintf(out, "Option Code: %s\n", "XSI"); fprintf(out, "

%s\n", "(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."); #ifdef _XBS5_LPBIG_OFFBIG fprintf(out, "

%s = %ld (%s)\n", "_XBS5_LPBIG_OFFBIG", (long)_XBS5_LPBIG_OFFBIG, interp(_XBS5_LPBIG_OFFBIG)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XBS5_LPBIG_OFFBIG"); #endif fprintf(out, "


%s

\n", "_XOPEN_CRYPT"); fprintf(out, "Option Code: %s\n", "XSI"); fprintf(out, "

%s\n", "The implementation supports the X/Open Encryption Option Group."); #ifdef _XOPEN_CRYPT fprintf(out, "

%s = %ld (%s)\n", "_XOPEN_CRYPT", (long)_XOPEN_CRYPT, interp(_XOPEN_CRYPT)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XOPEN_CRYPT"); #endif fprintf(out, "


%s

\n", "_XOPEN_ENH_I18N"); fprintf(out, "

%s\n", "The implementation supports the Issue 4, Version 2 Enhanced Internationalization Option Group. This symbol shall always be set to a value other than -1."); #ifdef _XOPEN_ENH_I18N fprintf(out, "

%s = %ld (%s)\n", "_XOPEN_ENH_I18N", (long)_XOPEN_ENH_I18N, interp(_XOPEN_ENH_I18N)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XOPEN_ENH_I18N"); #endif fprintf(out, "


%s

\n", "_XOPEN_LEGACY"); fprintf(out, "

%s\n", "The implementation supports the Legacy Option Group."); #ifdef _XOPEN_LEGACY fprintf(out, "

%s = %ld (%s)\n", "_XOPEN_LEGACY", (long)_XOPEN_LEGACY, interp(_XOPEN_LEGACY)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XOPEN_LEGACY"); #endif fprintf(out, "


%s

\n", "_XOPEN_REALTIME"); fprintf(out, "

%s\n", "The implementation supports the X/Open Realtime Option Group."); #ifdef _XOPEN_REALTIME fprintf(out, "

%s = %ld (%s)\n", "_XOPEN_REALTIME", (long)_XOPEN_REALTIME, interp(_XOPEN_REALTIME)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XOPEN_REALTIME"); #endif fprintf(out, "


%s

\n", "_XOPEN_REALTIME_THREADS"); fprintf(out, "

%s\n", "The implementation supports the X/Open Realtime Threads Option Group."); #ifdef _XOPEN_REALTIME_THREADS fprintf(out, "

%s = %ld (%s)\n", "_XOPEN_REALTIME_THREADS", (long)_XOPEN_REALTIME_THREADS, interp(_XOPEN_REALTIME_THREADS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XOPEN_REALTIME_THREADS"); #endif fprintf(out, "


%s

\n", "_XOPEN_SHM"); fprintf(out, "

%s\n", "The implementation supports the Issue 4, Version 2 Shared Memory Option Group. This symbol shall always be set to a value other than -1."); #ifdef _XOPEN_SHM fprintf(out, "

%s = %ld (%s)\n", "_XOPEN_SHM", (long)_XOPEN_SHM, interp(_XOPEN_SHM)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XOPEN_SHM"); #endif fprintf(out, "


%s

\n", "_XOPEN_STREAMS"); fprintf(out, "

%s\n", "The implementation supports the XSI STREAMS Option Group."); #ifdef _XOPEN_STREAMS fprintf(out, "

%s = %ld (%s)\n", "_XOPEN_STREAMS", (long)_XOPEN_STREAMS, interp(_XOPEN_STREAMS)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XOPEN_STREAMS"); #endif fprintf(out, "


%s

\n", "_XOPEN_UNIX"); fprintf(out, "Option Code: %s\n", "XSI"); fprintf(out, "

%s\n", "The implementation supports the XSI extension."); #ifdef _XOPEN_UNIX fprintf(out, "

%s = %ld (%s)\n", "_XOPEN_UNIX", (long)_XOPEN_UNIX, interp(_XOPEN_UNIX)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_XOPEN_UNIX"); #endif fprintf(out, "


%s

\n", "_POSIX_ASYNC_IO"); fprintf(out, "

%s\n", "Asynchronous input or output operations may be performed for the associated file."); #ifdef _POSIX_ASYNC_IO fprintf(out, "

%s = %ld (%s)\n", "_POSIX_ASYNC_IO", (long)_POSIX_ASYNC_IO, interp(_POSIX_ASYNC_IO)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_ASYNC_IO"); #endif fprintf(out, "


%s

\n", "_POSIX_PRIO_IO"); fprintf(out, "

%s\n", "Prioritized input or output operations may be performed for the associated file."); #ifdef _POSIX_PRIO_IO fprintf(out, "

%s = %ld (%s)\n", "_POSIX_PRIO_IO", (long)_POSIX_PRIO_IO, interp(_POSIX_PRIO_IO)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_PRIO_IO"); #endif fprintf(out, "


%s

\n", "_POSIX_SYNC_IO"); fprintf(out, "

%s\n", "Synchronized input or output operations may be performed for the associated file."); #ifdef _POSIX_SYNC_IO fprintf(out, "

%s = %ld (%s)\n", "_POSIX_SYNC_IO", (long)_POSIX_SYNC_IO, interp(_POSIX_SYNC_IO)); #else fprintf(out, "

%s is undefined (feature may or may not be supported)\n", "_POSIX_SYNC_IO"); #endif fprintf(out, "


End.\n"); fclose(out); exit(EXIT_SUCCESS); } /* end */