1/* Usage: pipe the output of running the preprocessor on this file to: 2 * sed -e '1,/optiongroups_unistd_end/d' -e '/^#/d' -e '/^[[:space:]]*$/d' -e 's/^/#define /' 3 */ 4#include <unistd.h> 5optiongroups_unistd_end 6 7#if defined _POSIX_ADVISORY_INFO && _POSIX_ADVISORY_INFO >= 0 8POSIX_ADVISORY_INFO _POSIX_ADVISORY_INFO 9#endif 10 11#if defined _POSIX_CPUTIME && _POSIX_CPUTIME >= 0 12POSIX_CPUTIME _POSIX_CPUTIME 13#endif 14 15#if defined _POSIX_FSYNC && _POSIX_FSYNC >= 0 16POSIX_FSYNC _POSIX_FSYNC 17#endif 18 19#if defined _POSIX_IPV6 && _POSIX_IPV6 >= 0 20POSIX_IPV6 _POSIX_IPV6 21#endif 22 23#if defined _POSIX_MEMLOCK && _POSIX_MEMLOCK >= 0 24POSIX_MEMLOCK _POSIX_MEMLOCK 25#endif 26 27#if defined _POSIX_MEMLOCK_RANGE && _POSIX_MEMLOCK_RANGE >= 0 28POSIX_MEMLOCK_RANGE _POSIX_MEMLOCK_RANGE 29#endif 30 31#if defined _POSIX_MESSAGE_PASSING && _POSIX_MESSAGE_PASSING >= 0 32POSIX_MESSAGE_PASSING _POSIX_MESSAGE_PASSING 33#endif 34 35#if defined _POSIX_MONOTONIC_CLOCK && _POSIX_MONOTONIC_CLOCK >= 0 36POSIX_MONOTONIC_CLOCK _POSIX_MONOTONIC_CLOCK 37#endif 38 39#if defined _POSIX_PRIORITIZED_IO && _POSIX_PRIORITIZED_IO >= 0 40POSIX_PRIORITIZED_IO _POSIX_PRIORITIZED_IO 41#endif 42 43#if defined _POSIX_PRIORITY_SCHEDULING && _POSIX_PRIORITY_SCHEDULING >= 0 44POSIX_PRIORITY_SCHEDULING _POSIX_PRIORITY_SCHEDULING 45#endif 46 47#if defined _POSIX_RAW_SOCKETS && _POSIX_RAW_SOCKETS >= 0 48POSIX_RAW_SOCKETS _POSIX_RAW_SOCKETS 49#endif 50 51#if defined _POSIX_SHARED_MEMORY_OBJECTS && _POSIX_SHARED_MEMORY_OBJECTS >= 0 52POSIX_SHARED_MEMORY_OBJECTS _POSIX_SHARED_MEMORY_OBJECTS 53#endif 54 55#if defined _POSIX_SPAWN && _POSIX_SPAWN >= 0 56POSIX_SPAWN _POSIX_SPAWN 57#endif 58 59#if defined _POSIX_SPORADIC_SERVER && _POSIX_SPORADIC_SERVER >= 0 60POSIX_SPORADIC_SERVER _POSIX_SPORADIC_SERVER 61#endif 62 63#if defined _POSIX_SYNCHRONIZED_IO && _POSIX_SYNCHRONIZED_IO >= 0 64POSIX_SYNCHRONIZED_IO _POSIX_SYNCHRONIZED_IO 65#endif 66 67#if defined _POSIX_THREAD_ATTR_STACKADDR && _POSIX_THREAD_ATTR_STACKADDR >= 0 68POSIX_THREAD_ATTR_STACKADDR _POSIX_THREAD_ATTR_STACKADDR 69#endif 70 71#if defined _POSIX_THREAD_ATTR_STACKSIZE && _POSIX_THREAD_ATTR_STACKSIZE >= 0 72POSIX_THREAD_ATTR_STACKSIZE _POSIX_THREAD_ATTR_STACKSIZE 73#endif 74 75#if defined _POSIX_THREAD_CPUTIME && _POSIX_THREAD_CPUTIME >= 0 76POSIX_THREAD_CPUTIME _POSIX_THREAD_CPUTIME 77#endif 78 79#if defined _POSIX_THREAD_PRIO_INHERIT && _POSIX_THREAD_PRIO_INHERIT >= 0 80POSIX_THREAD_PRIO_INHERIT _POSIX_THREAD_PRIO_INHERIT 81#endif 82 83#if defined _POSIX_THREAD_PRIO_PROTECT && _POSIX_THREAD_PRIO_PROTECT >= 0 84POSIX_THREAD_PRIO_PROTECT _POSIX_THREAD_PRIO_PROTECT 85#endif 86 87#if defined _POSIX_THREAD_PRIORITY_SCHEDULING && _POSIX_THREAD_PRIORITY_SCHEDULING >= 0 88POSIX_THREAD_PRIORITY_SCHEDULING _POSIX_THREAD_PRIORITY_SCHEDULING 89#endif 90 91#if defined _POSIX_THREAD_PROCESS_SHARED && _POSIX_THREAD_PROCESS_SHARED >= 0 92POSIX_THREAD_PROCESS_SHARED _POSIX_THREAD_PROCESS_SHARED 93#endif 94 95#if defined _POSIX_THREAD_ROBUST_PRIO_INHERIT && _POSIX_THREAD_ROBUST_PRIO_INHERIT >= 0 96POSIX_THREAD_ROBUST_PRIO_INHERIT _POSIX_THREAD_ROBUST_PRIO_INHERIT 97#endif 98 99#if defined _POSIX_THREAD_ROBUST_PRIO_PROTECT && _POSIX_THREAD_ROBUST_PRIO_PROTECT >= 0 100POSIX_THREAD_ROBUST_PRIO_PROTECT _POSIX_THREAD_ROBUST_PRIO_PROTECT 101#endif 102 103#if defined _POSIX_THREAD_SPORADIC_SERVER && _POSIX_THREAD_SPORADIC_SERVER >= 0 104POSIX_THREAD_SPORADIC_SERVER _POSIX_THREAD_SPORADIC_SERVER 105#endif 106 107#if defined _POSIX_TYPED_MEMORY_OBJECTS && _POSIX_TYPED_MEMORY_OBJECTS >= 0 108POSIX_TYPED_MEMORY_OBJECTS _POSIX_TYPED_MEMORY_OBJECTS 109#endif 110 111#if defined _XOPEN_CRYPT && _XOPEN_CRYPT >= 0 112XOPEN_CRYPT _XOPEN_CRYPT 113#endif 114 115#if defined _XOPEN_REALTIME && _XOPEN_REALTIME >= 0 116XOPEN_REALTIME _XOPEN_REALTIME 117#endif 118 119#if defined _XOPEN_REALTIME_THREADS && _XOPEN_REALTIME_THREADS >= 0 120XOPEN_REALTIME_THREADS _XOPEN_REALTIME_THREADS 121#endif 122 123#if defined _XOPEN_UNIX && _XOPEN_UNIX >= 0 124XOPEN_UNIX _XOPEN_UNIX 125#endif 126