|
Szabolcs Nagy |
ea45c8 |
/* Usage: pipe the output of running the preprocessor on this file to:
|
|
Szabolcs Nagy |
ea45c8 |
* sed -e '1,/optiongroups_unistd_end/d' -e '/^#/d' -e '/^[[:space:]]*$/d' -e 's/^/#define /'
|
|
Szabolcs Nagy |
ea45c8 |
*/
|
|
Szabolcs Nagy |
ea45c8 |
#include <unistd.h>
|
|
Szabolcs Nagy |
ea45c8 |
optiongroups_unistd_end
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_ADVISORY_INFO && _POSIX_ADVISORY_INFO >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_ADVISORY_INFO _POSIX_ADVISORY_INFO
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_CPUTIME _POSIX_CPUTIME
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_FSYNC && _POSIX_FSYNC >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_FSYNC _POSIX_FSYNC
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_IPV6 && _POSIX_IPV6 >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_IPV6 _POSIX_IPV6
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_MEMLOCK && _POSIX_MEMLOCK >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_MEMLOCK _POSIX_MEMLOCK
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_MEMLOCK_RANGE && _POSIX_MEMLOCK_RANGE >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_MEMLOCK_RANGE _POSIX_MEMLOCK_RANGE
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_MESSAGE_PASSING && _POSIX_MESSAGE_PASSING >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_MESSAGE_PASSING _POSIX_MESSAGE_PASSING
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_MONOTONIC_CLOCK && _POSIX_MONOTONIC_CLOCK >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_MONOTONIC_CLOCK _POSIX_MONOTONIC_CLOCK
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_PRIORITIZED_IO && _POSIX_PRIORITIZED_IO >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_PRIORITIZED_IO _POSIX_PRIORITIZED_IO
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_PRIORITY_SCHEDULING && _POSIX_PRIORITY_SCHEDULING >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_PRIORITY_SCHEDULING _POSIX_PRIORITY_SCHEDULING
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_RAW_SOCKETS && _POSIX_RAW_SOCKETS >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_RAW_SOCKETS _POSIX_RAW_SOCKETS
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_SHARED_MEMORY_OBJECTS && _POSIX_SHARED_MEMORY_OBJECTS >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_SHARED_MEMORY_OBJECTS _POSIX_SHARED_MEMORY_OBJECTS
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_SPAWN && _POSIX_SPAWN >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_SPAWN _POSIX_SPAWN
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_SPORADIC_SERVER && _POSIX_SPORADIC_SERVER >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_SPORADIC_SERVER _POSIX_SPORADIC_SERVER
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_SYNCHRONIZED_IO && _POSIX_SYNCHRONIZED_IO >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_SYNCHRONIZED_IO _POSIX_SYNCHRONIZED_IO
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_ATTR_STACKADDR && _POSIX_THREAD_ATTR_STACKADDR >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_ATTR_STACKADDR _POSIX_THREAD_ATTR_STACKADDR
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_ATTR_STACKSIZE && _POSIX_THREAD_ATTR_STACKSIZE >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_ATTR_STACKSIZE _POSIX_THREAD_ATTR_STACKSIZE
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_CPUTIME _POSIX_THREAD_CPUTIME
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_PRIO_INHERIT && _POSIX_THREAD_PRIO_INHERIT >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_PRIO_INHERIT _POSIX_THREAD_PRIO_INHERIT
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_PRIO_PROTECT && _POSIX_THREAD_PRIO_PROTECT >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_PRIO_PROTECT _POSIX_THREAD_PRIO_PROTECT
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_PRIORITY_SCHEDULING && _POSIX_THREAD_PRIORITY_SCHEDULING >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_PRIORITY_SCHEDULING _POSIX_THREAD_PRIORITY_SCHEDULING
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_PROCESS_SHARED && _POSIX_THREAD_PROCESS_SHARED >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_PROCESS_SHARED _POSIX_THREAD_PROCESS_SHARED
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_ROBUST_PRIO_INHERIT && _POSIX_THREAD_ROBUST_PRIO_INHERIT >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_ROBUST_PRIO_INHERIT _POSIX_THREAD_ROBUST_PRIO_INHERIT
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_ROBUST_PRIO_PROTECT && _POSIX_THREAD_ROBUST_PRIO_PROTECT >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_ROBUST_PRIO_PROTECT _POSIX_THREAD_ROBUST_PRIO_PROTECT
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_THREAD_SPORADIC_SERVER && _POSIX_THREAD_SPORADIC_SERVER >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_THREAD_SPORADIC_SERVER _POSIX_THREAD_SPORADIC_SERVER
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _POSIX_TYPED_MEMORY_OBJECTS && _POSIX_TYPED_MEMORY_OBJECTS >= 0
|
|
Szabolcs Nagy |
ea45c8 |
POSIX_TYPED_MEMORY_OBJECTS _POSIX_TYPED_MEMORY_OBJECTS
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _XOPEN_CRYPT && _XOPEN_CRYPT >= 0
|
|
Szabolcs Nagy |
ea45c8 |
XOPEN_CRYPT _XOPEN_CRYPT
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _XOPEN_REALTIME && _XOPEN_REALTIME >= 0
|
|
Szabolcs Nagy |
ea45c8 |
XOPEN_REALTIME _XOPEN_REALTIME
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _XOPEN_REALTIME_THREADS && _XOPEN_REALTIME_THREADS >= 0
|
|
Szabolcs Nagy |
ea45c8 |
XOPEN_REALTIME_THREADS _XOPEN_REALTIME_THREADS
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|
|
Szabolcs Nagy |
ea45c8 |
|
|
Szabolcs Nagy |
ea45c8 |
#if defined _XOPEN_UNIX && _XOPEN_UNIX >= 0
|
|
Szabolcs Nagy |
ea45c8 |
XOPEN_UNIX _XOPEN_UNIX
|
|
Szabolcs Nagy |
ea45c8 |
#endif
|