#define STDERR_FILENO 2 /* standard error file descriptor */
/*
- * sysconf values per IEEE Std 1003.1, 2004 Edition
+ * sysconf values per IEEE Std 1003.1, 2008 Edition
*/
#define _SC_ARG_MAX 0
#define _SC_TRACE_SYS_MAX 89
#define _SC_TRACE_USER_EVENT_MAX 90
#define _SC_TYPED_MEMORY_OBJECTS 91
-#define _SC_V6_ILP32_OFF32 92
-#define _SC_XBS5_ILP32_OFF32 _SC_V6_ILP32_OFF32
-#define _SC_V6_ILP32_OFFBIG 93
-#define _SC_XBS5_ILP32_OFFBIG _SC_V6_ILP32_OFFBIG
-#define _SC_V6_LP64_OFF64 94
-#define _SC_XBS5_LP64_OFF64 _SC_V6_LP64_OFF64
-#define _SC_V6_LPBIG_OFFBIG 95
-#define _SC_XBS5_LPBIG_OFFBIG _SC_V6_LPBIG_OFFBIG
+#define _SC_V7_ILP32_OFF32 92
+#define _SC_V6_ILP32_OFF32 _SC_V7_ILP32_OFF32
+#define _SC_XBS5_ILP32_OFF32 _SC_V7_ILP32_OFF32
+#define _SC_V7_ILP32_OFFBIG 93
+#define _SC_V6_ILP32_OFFBIG _SC_V7_ILP32_OFFBIG
+#define _SC_XBS5_ILP32_OFFBIG _SC_V7_ILP32_OFFBIG
+#define _SC_V7_LP64_OFF64 94
+#define _SC_V6_LP64_OFF64 _SC_V7_LP64_OFF64
+#define _SC_XBS5_LP64_OFF64 _SC_V7_LP64_OFF64
+#define _SC_V7_LPBIG_OFFBIG 95
+#define _SC_V6_LPBIG_OFFBIG _SC_V7_LPBIG_OFFBIG
+#define _SC_XBS5_LPBIG_OFFBIG _SC_V7_LPBIG_OFFBIG
#define _SC_XOPEN_CRYPT 96
#define _SC_XOPEN_ENH_I18N 97
#define _SC_XOPEN_LEGACY 98
#define _SC_2_SW_DEV 119
#define _SC_2_UPE 120
#define _SC_2_VERSION 121
+#define _SC_THREAD_ROBUST_PRIO_INHERIT 122
+#define _SC_THREAD_ROBUST_PRIO_PROTECT 123
+#define _SC_XOPEN_UUCP 124
/*
- * pathconf values per IEEE Std 1003.1, 2004 Edition
+ * pathconf values per IEEE Std 1003.1, 2008 Edition
*/
#define _PC_LINK_MAX 0
#define _PC_FILESIZEBITS 12
#define _PC_2_SYMLINKS 13
#define _PC_SYMLINK_MAX 14
+#define _PC_ALLOC_SIZE_MIN 15
+#define _PC_REC_INCR_XFER_SIZE 16
+#define _PC_REC_MAX_XFER_SIZE 17
+#define _PC_REC_MIN_XFER_SIZE 18
+#define _PC_REC_XFER_ALIGN 19
+#define _PC_TIMESTAMP_RESOLUTION 20
#ifdef __CYGWIN__
/* Ask for POSIX permission bits support. */
#define _PC_POSIX_PERMISSIONS 90
#ifdef __CYGWIN__ /* Only defined on Cygwin for now. */
#define _CS_PATH 0
-#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS 1
-#define _CS_XBS5_ILP32_OFF32_CFLAGS _CS_POSIX_V6_ILP32_OFF32_CFLAGS
-#define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS 2
-#define _CS_XBS5_ILP32_OFF32_LDFLAGS _CS_POSIX_V6_ILP32_OFF32_LDFLAGS
-#define _CS_POSIX_V6_ILP32_OFF32_LIBS 3
-#define _CS_XBS5_ILP32_OFF32_LIBS _CS_POSIX_V6_ILP32_OFF32_LIBS
+#define _CS_POSIX_V7_ILP32_OFF32_CFLAGS 1
+#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS _CS_POSIX_V7_ILP32_OFF32_CFLAGS
+#define _CS_XBS5_ILP32_OFF32_CFLAGS _CS_POSIX_V7_ILP32_OFF32_CFLAGS
+#define _CS_POSIX_V7_ILP32_OFF32_LDFLAGS 2
+#define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
+#define _CS_XBS5_ILP32_OFF32_LDFLAGS _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
+#define _CS_POSIX_V7_ILP32_OFF32_LIBS 3
+#define _CS_POSIX_V6_ILP32_OFF32_LIBS _CS_POSIX_V7_ILP32_OFF32_LIBS
+#define _CS_XBS5_ILP32_OFF32_LIBS _CS_POSIX_V7_ILP32_OFF32_LIBS
#define _CS_XBS5_ILP32_OFF32_LINTFLAGS 4
-#define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS 5
-#define _CS_XBS5_ILP32_OFFBIG_CFLAGS _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
-#define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS 6
-#define _CS_XBS5_ILP32_OFFBIG_LDFLAGS _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
-#define _CS_POSIX_V6_ILP32_OFFBIG_LIBS 7
-#define _CS_XBS5_ILP32_OFFBIG_LIBS _CS_POSIX_V6_ILP32_OFFBIG_LIBS
+#define _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS 5
+#define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
+#define _CS_XBS5_ILP32_OFFBIG_CFLAGS _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
+#define _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS 6
+#define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
+#define _CS_XBS5_ILP32_OFFBIG_LDFLAGS _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
+#define _CS_POSIX_V7_ILP32_OFFBIG_LIBS 7
+#define _CS_POSIX_V6_ILP32_OFFBIG_LIBS _CS_POSIX_V7_ILP32_OFFBIG_LIBS
+#define _CS_XBS5_ILP32_OFFBIG_LIBS _CS_POSIX_V7_ILP32_OFFBIG_LIBS
#define _CS_XBS5_ILP32_OFFBIG_LINTFLAGS 8
-#define _CS_POSIX_V6_LP64_OFF64_CFLAGS 9
-#define _CS_XBS5_LP64_OFF64_CFLAGS _CS_POSIX_V6_LP64_OFF64_CFLAGS
-#define _CS_POSIX_V6_LP64_OFF64_LDFLAGS 10
-#define _CS_XBS5_LP64_OFF64_LDFLAGS _CS_POSIX_V6_LP64_OFF64_LDFLAGS
-#define _CS_POSIX_V6_LP64_OFF64_LIBS 11
-#define _CS_XBS5_LP64_OFF64_LIBS _CS_POSIX_V6_LP64_OFF64_LIBS
+#define _CS_POSIX_V7_LP64_OFF64_CFLAGS 9
+#define _CS_POSIX_V6_LP64_OFF64_CFLAGS _CS_POSIX_V7_LP64_OFF64_CFLAGS
+#define _CS_XBS5_LP64_OFF64_CFLAGS _CS_POSIX_V7_LP64_OFF64_CFLAGS
+#define _CS_POSIX_V7_LP64_OFF64_LDFLAGS 10
+#define _CS_POSIX_V6_LP64_OFF64_LDFLAGS _CS_POSIX_V7_LP64_OFF64_LDFLAGS
+#define _CS_XBS5_LP64_OFF64_LDFLAGS _CS_POSIX_V7_LP64_OFF64_LDFLAGS
+#define _CS_POSIX_V7_LP64_OFF64_LIBS 11
+#define _CS_POSIX_V6_LP64_OFF64_LIBS _CS_POSIX_V7_LP64_OFF64_LIBS
+#define _CS_XBS5_LP64_OFF64_LIBS _CS_POSIX_V7_LP64_OFF64_LIBS
#define _CS_XBS5_LP64_OFF64_LINTFLAGS 12
-#define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS 13
-#define _CS_XBS5_LPBIG_OFFBIG_CFLAGS _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
-#define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS 14
-#define _CS_XBS5_LPBIG_OFFBIG_LDFLAGS _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
-#define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS 15
-#define _CS_XBS5_LPBIG_OFFBIG_LIBS _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
+#define _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS 13
+#define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
+#define _CS_XBS5_LPBIG_OFFBIG_CFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
+#define _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS 14
+#define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
+#define _CS_XBS5_LPBIG_OFFBIG_LDFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
+#define _CS_POSIX_V7_LPBIG_OFFBIG_LIBS 15
+#define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS _CS_POSIX_V7_LPBIG_OFFBIG_LIBS
+#define _CS_XBS5_LPBIG_OFFBIG_LIBS _CS_POSIX_V7_LPBIG_OFFBIG_LIBS
#define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS 16
-#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 17
+#define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS 17
+#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS
+#define _CS_POSIX_V7_THREADS_CFLAGS 18
+#define _CS_POSIX_V7_THREADS_LDFLAGS 19
+#define _CS_V7_ENV 20
+#define _CS_V6_ENV _CS_V6_ENV
#endif
#ifndef __CYGWIN__