confname.h 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. /* `sysconf', `pathconf', and `confstr' NAME values. Generic version.
  2. Copyright (C) 1993,1995-1998,2000,2001,2003,2004,2007,2009
  3. Free Software Foundation, Inc.
  4. This file is part of the GNU C Library.
  5. The GNU C Library is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU Lesser General Public
  7. License as published by the Free Software Foundation; either
  8. version 2.1 of the License, or (at your option) any later version.
  9. The GNU C Library is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. Lesser General Public License for more details.
  13. You should have received a copy of the GNU Lesser General Public
  14. License along with the GNU C Library; if not, see
  15. <http://www.gnu.org/licenses/>. */
  16. #ifndef _UNISTD_H
  17. # error "Never use <bits/confname.h> directly; include <unistd.h> instead."
  18. #endif
  19. /* Values for the NAME argument to `pathconf' and `fpathconf'. */
  20. enum
  21. {
  22. _PC_LINK_MAX,
  23. #define _PC_LINK_MAX _PC_LINK_MAX
  24. _PC_MAX_CANON,
  25. #define _PC_MAX_CANON _PC_MAX_CANON
  26. _PC_MAX_INPUT,
  27. #define _PC_MAX_INPUT _PC_MAX_INPUT
  28. _PC_NAME_MAX,
  29. #define _PC_NAME_MAX _PC_NAME_MAX
  30. _PC_PATH_MAX,
  31. #define _PC_PATH_MAX _PC_PATH_MAX
  32. _PC_PIPE_BUF,
  33. #define _PC_PIPE_BUF _PC_PIPE_BUF
  34. _PC_CHOWN_RESTRICTED,
  35. #define _PC_CHOWN_RESTRICTED _PC_CHOWN_RESTRICTED
  36. _PC_NO_TRUNC,
  37. #define _PC_NO_TRUNC _PC_NO_TRUNC
  38. _PC_VDISABLE,
  39. #define _PC_VDISABLE _PC_VDISABLE
  40. _PC_SYNC_IO,
  41. #define _PC_SYNC_IO _PC_SYNC_IO
  42. _PC_ASYNC_IO,
  43. #define _PC_ASYNC_IO _PC_ASYNC_IO
  44. _PC_PRIO_IO,
  45. #define _PC_PRIO_IO _PC_PRIO_IO
  46. _PC_SOCK_MAXBUF,
  47. #define _PC_SOCK_MAXBUF _PC_SOCK_MAXBUF
  48. _PC_FILESIZEBITS,
  49. #define _PC_FILESIZEBITS _PC_FILESIZEBITS
  50. _PC_REC_INCR_XFER_SIZE,
  51. #define _PC_REC_INCR_XFER_SIZE _PC_REC_INCR_XFER_SIZE
  52. _PC_REC_MAX_XFER_SIZE,
  53. #define _PC_REC_MAX_XFER_SIZE _PC_REC_MAX_XFER_SIZE
  54. _PC_REC_MIN_XFER_SIZE,
  55. #define _PC_REC_MIN_XFER_SIZE _PC_REC_MIN_XFER_SIZE
  56. _PC_REC_XFER_ALIGN,
  57. #define _PC_REC_XFER_ALIGN _PC_REC_XFER_ALIGN
  58. _PC_ALLOC_SIZE_MIN,
  59. #define _PC_ALLOC_SIZE_MIN _PC_ALLOC_SIZE_MIN
  60. _PC_SYMLINK_MAX,
  61. #define _PC_SYMLINK_MAX _PC_SYMLINK_MAX
  62. _PC_2_SYMLINKS
  63. #define _PC_2_SYMLINKS _PC_2_SYMLINKS
  64. };
  65. /* Values for the argument to `sysconf'. */
  66. enum
  67. {
  68. _SC_ARG_MAX,
  69. #define _SC_ARG_MAX _SC_ARG_MAX
  70. _SC_CHILD_MAX,
  71. #define _SC_CHILD_MAX _SC_CHILD_MAX
  72. _SC_CLK_TCK,
  73. #define _SC_CLK_TCK _SC_CLK_TCK
  74. _SC_NGROUPS_MAX,
  75. #define _SC_NGROUPS_MAX _SC_NGROUPS_MAX
  76. _SC_OPEN_MAX,
  77. #define _SC_OPEN_MAX _SC_OPEN_MAX
  78. _SC_STREAM_MAX,
  79. #define _SC_STREAM_MAX _SC_STREAM_MAX
  80. _SC_TZNAME_MAX,
  81. #define _SC_TZNAME_MAX _SC_TZNAME_MAX
  82. _SC_JOB_CONTROL,
  83. #define _SC_JOB_CONTROL _SC_JOB_CONTROL
  84. _SC_SAVED_IDS,
  85. #define _SC_SAVED_IDS _SC_SAVED_IDS
  86. _SC_REALTIME_SIGNALS,
  87. #define _SC_REALTIME_SIGNALS _SC_REALTIME_SIGNALS
  88. _SC_PRIORITY_SCHEDULING,
  89. #define _SC_PRIORITY_SCHEDULING _SC_PRIORITY_SCHEDULING
  90. _SC_TIMERS,
  91. #define _SC_TIMERS _SC_TIMERS
  92. _SC_ASYNCHRONOUS_IO,
  93. #define _SC_ASYNCHRONOUS_IO _SC_ASYNCHRONOUS_IO
  94. _SC_PRIORITIZED_IO,
  95. #define _SC_PRIORITIZED_IO _SC_PRIORITIZED_IO
  96. _SC_SYNCHRONIZED_IO,
  97. #define _SC_SYNCHRONIZED_IO _SC_SYNCHRONIZED_IO
  98. _SC_FSYNC,
  99. #define _SC_FSYNC _SC_FSYNC
  100. _SC_MAPPED_FILES,
  101. #define _SC_MAPPED_FILES _SC_MAPPED_FILES
  102. _SC_MEMLOCK,
  103. #define _SC_MEMLOCK _SC_MEMLOCK
  104. _SC_MEMLOCK_RANGE,
  105. #define _SC_MEMLOCK_RANGE _SC_MEMLOCK_RANGE
  106. _SC_MEMORY_PROTECTION,
  107. #define _SC_MEMORY_PROTECTION _SC_MEMORY_PROTECTION
  108. _SC_MESSAGE_PASSING,
  109. #define _SC_MESSAGE_PASSING _SC_MESSAGE_PASSING
  110. _SC_SEMAPHORES,
  111. #define _SC_SEMAPHORES _SC_SEMAPHORES
  112. _SC_SHARED_MEMORY_OBJECTS,
  113. #define _SC_SHARED_MEMORY_OBJECTS _SC_SHARED_MEMORY_OBJECTS
  114. _SC_AIO_LISTIO_MAX,
  115. #define _SC_AIO_LISTIO_MAX _SC_AIO_LISTIO_MAX
  116. _SC_AIO_MAX,
  117. #define _SC_AIO_MAX _SC_AIO_MAX
  118. _SC_AIO_PRIO_DELTA_MAX,
  119. #define _SC_AIO_PRIO_DELTA_MAX _SC_AIO_PRIO_DELTA_MAX
  120. _SC_DELAYTIMER_MAX,
  121. #define _SC_DELAYTIMER_MAX _SC_DELAYTIMER_MAX
  122. _SC_MQ_OPEN_MAX,
  123. #define _SC_MQ_OPEN_MAX _SC_MQ_OPEN_MAX
  124. _SC_MQ_PRIO_MAX,
  125. #define _SC_MQ_PRIO_MAX _SC_MQ_PRIO_MAX
  126. _SC_VERSION,
  127. #define _SC_VERSION _SC_VERSION
  128. _SC_PAGESIZE,
  129. #define _SC_PAGESIZE _SC_PAGESIZE
  130. #define _SC_PAGE_SIZE _SC_PAGESIZE
  131. _SC_RTSIG_MAX,
  132. #define _SC_RTSIG_MAX _SC_RTSIG_MAX
  133. _SC_SEM_NSEMS_MAX,
  134. #define _SC_SEM_NSEMS_MAX _SC_SEM_NSEMS_MAX
  135. _SC_SEM_VALUE_MAX,
  136. #define _SC_SEM_VALUE_MAX _SC_SEM_VALUE_MAX
  137. _SC_SIGQUEUE_MAX,
  138. #define _SC_SIGQUEUE_MAX _SC_SIGQUEUE_MAX
  139. _SC_TIMER_MAX,
  140. #define _SC_TIMER_MAX _SC_TIMER_MAX
  141. /* Values for the argument to `sysconf'
  142. corresponding to _POSIX2_* symbols. */
  143. _SC_BC_BASE_MAX,
  144. #define _SC_BC_BASE_MAX _SC_BC_BASE_MAX
  145. _SC_BC_DIM_MAX,
  146. #define _SC_BC_DIM_MAX _SC_BC_DIM_MAX
  147. _SC_BC_SCALE_MAX,
  148. #define _SC_BC_SCALE_MAX _SC_BC_SCALE_MAX
  149. _SC_BC_STRING_MAX,
  150. #define _SC_BC_STRING_MAX _SC_BC_STRING_MAX
  151. _SC_COLL_WEIGHTS_MAX,
  152. #define _SC_COLL_WEIGHTS_MAX _SC_COLL_WEIGHTS_MAX
  153. _SC_EQUIV_CLASS_MAX,
  154. #define _SC_EQUIV_CLASS_MAX _SC_EQUIV_CLASS_MAX
  155. _SC_EXPR_NEST_MAX,
  156. #define _SC_EXPR_NEST_MAX _SC_EXPR_NEST_MAX
  157. _SC_LINE_MAX,
  158. #define _SC_LINE_MAX _SC_LINE_MAX
  159. _SC_RE_DUP_MAX,
  160. #define _SC_RE_DUP_MAX _SC_RE_DUP_MAX
  161. _SC_CHARCLASS_NAME_MAX,
  162. #define _SC_CHARCLASS_NAME_MAX _SC_CHARCLASS_NAME_MAX
  163. _SC_2_VERSION,
  164. #define _SC_2_VERSION _SC_2_VERSION
  165. _SC_2_C_BIND,
  166. #define _SC_2_C_BIND _SC_2_C_BIND
  167. _SC_2_C_DEV,
  168. #define _SC_2_C_DEV _SC_2_C_DEV
  169. _SC_2_FORT_DEV,
  170. #define _SC_2_FORT_DEV _SC_2_FORT_DEV
  171. _SC_2_FORT_RUN,
  172. #define _SC_2_FORT_RUN _SC_2_FORT_RUN
  173. _SC_2_SW_DEV,
  174. #define _SC_2_SW_DEV _SC_2_SW_DEV
  175. _SC_2_LOCALEDEF,
  176. #define _SC_2_LOCALEDEF _SC_2_LOCALEDEF
  177. _SC_PII,
  178. #define _SC_PII _SC_PII
  179. _SC_PII_XTI,
  180. #define _SC_PII_XTI _SC_PII_XTI
  181. _SC_PII_SOCKET,
  182. #define _SC_PII_SOCKET _SC_PII_SOCKET
  183. _SC_PII_INTERNET,
  184. #define _SC_PII_INTERNET _SC_PII_INTERNET
  185. _SC_PII_OSI,
  186. #define _SC_PII_OSI _SC_PII_OSI
  187. _SC_POLL,
  188. #define _SC_POLL _SC_POLL
  189. _SC_SELECT,
  190. #define _SC_SELECT _SC_SELECT
  191. _SC_UIO_MAXIOV,
  192. #define _SC_UIO_MAXIOV _SC_UIO_MAXIOV
  193. _SC_IOV_MAX = _SC_UIO_MAXIOV,
  194. #define _SC_IOV_MAX _SC_IOV_MAX
  195. _SC_PII_INTERNET_STREAM,
  196. #define _SC_PII_INTERNET_STREAM _SC_PII_INTERNET_STREAM
  197. _SC_PII_INTERNET_DGRAM,
  198. #define _SC_PII_INTERNET_DGRAM _SC_PII_INTERNET_DGRAM
  199. _SC_PII_OSI_COTS,
  200. #define _SC_PII_OSI_COTS _SC_PII_OSI_COTS
  201. _SC_PII_OSI_CLTS,
  202. #define _SC_PII_OSI_CLTS _SC_PII_OSI_CLTS
  203. _SC_PII_OSI_M,
  204. #define _SC_PII_OSI_M _SC_PII_OSI_M
  205. _SC_T_IOV_MAX,
  206. #define _SC_T_IOV_MAX _SC_T_IOV_MAX
  207. /* Values according to POSIX 1003.1c (POSIX threads). */
  208. _SC_THREADS,
  209. #define _SC_THREADS _SC_THREADS
  210. _SC_THREAD_SAFE_FUNCTIONS,
  211. #define _SC_THREAD_SAFE_FUNCTIONS _SC_THREAD_SAFE_FUNCTIONS
  212. _SC_GETGR_R_SIZE_MAX,
  213. #define _SC_GETGR_R_SIZE_MAX _SC_GETGR_R_SIZE_MAX
  214. _SC_GETPW_R_SIZE_MAX,
  215. #define _SC_GETPW_R_SIZE_MAX _SC_GETPW_R_SIZE_MAX
  216. _SC_LOGIN_NAME_MAX,
  217. #define _SC_LOGIN_NAME_MAX _SC_LOGIN_NAME_MAX
  218. _SC_TTY_NAME_MAX,
  219. #define _SC_TTY_NAME_MAX _SC_TTY_NAME_MAX
  220. _SC_THREAD_DESTRUCTOR_ITERATIONS,
  221. #define _SC_THREAD_DESTRUCTOR_ITERATIONS _SC_THREAD_DESTRUCTOR_ITERATIONS
  222. _SC_THREAD_KEYS_MAX,
  223. #define _SC_THREAD_KEYS_MAX _SC_THREAD_KEYS_MAX
  224. _SC_THREAD_STACK_MIN,
  225. #define _SC_THREAD_STACK_MIN _SC_THREAD_STACK_MIN
  226. _SC_THREAD_THREADS_MAX,
  227. #define _SC_THREAD_THREADS_MAX _SC_THREAD_THREADS_MAX
  228. _SC_THREAD_ATTR_STACKADDR,
  229. #define _SC_THREAD_ATTR_STACKADDR _SC_THREAD_ATTR_STACKADDR
  230. _SC_THREAD_ATTR_STACKSIZE,
  231. #define _SC_THREAD_ATTR_STACKSIZE _SC_THREAD_ATTR_STACKSIZE
  232. _SC_THREAD_PRIORITY_SCHEDULING,
  233. #define _SC_THREAD_PRIORITY_SCHEDULING _SC_THREAD_PRIORITY_SCHEDULING
  234. _SC_THREAD_PRIO_INHERIT,
  235. #define _SC_THREAD_PRIO_INHERIT _SC_THREAD_PRIO_INHERIT
  236. _SC_THREAD_PRIO_PROTECT,
  237. #define _SC_THREAD_PRIO_PROTECT _SC_THREAD_PRIO_PROTECT
  238. _SC_THREAD_PROCESS_SHARED,
  239. #define _SC_THREAD_PROCESS_SHARED _SC_THREAD_PROCESS_SHARED
  240. _SC_NPROCESSORS_CONF,
  241. #define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_CONF
  242. _SC_NPROCESSORS_ONLN,
  243. #define _SC_NPROCESSORS_ONLN _SC_NPROCESSORS_ONLN
  244. _SC_PHYS_PAGES,
  245. #define _SC_PHYS_PAGES _SC_PHYS_PAGES
  246. _SC_AVPHYS_PAGES,
  247. #define _SC_AVPHYS_PAGES _SC_AVPHYS_PAGES
  248. _SC_ATEXIT_MAX,
  249. #define _SC_ATEXIT_MAX _SC_ATEXIT_MAX
  250. _SC_PASS_MAX,
  251. #define _SC_PASS_MAX _SC_PASS_MAX
  252. _SC_XOPEN_VERSION,
  253. #define _SC_XOPEN_VERSION _SC_XOPEN_VERSION
  254. _SC_XOPEN_XCU_VERSION,
  255. #define _SC_XOPEN_XCU_VERSION _SC_XOPEN_XCU_VERSION
  256. _SC_XOPEN_UNIX,
  257. #define _SC_XOPEN_UNIX _SC_XOPEN_UNIX
  258. _SC_XOPEN_CRYPT,
  259. #define _SC_XOPEN_CRYPT _SC_XOPEN_CRYPT
  260. _SC_XOPEN_ENH_I18N,
  261. #define _SC_XOPEN_ENH_I18N _SC_XOPEN_ENH_I18N
  262. _SC_XOPEN_SHM,
  263. #define _SC_XOPEN_SHM _SC_XOPEN_SHM
  264. _SC_2_CHAR_TERM,
  265. #define _SC_2_CHAR_TERM _SC_2_CHAR_TERM
  266. _SC_2_C_VERSION,
  267. #define _SC_2_C_VERSION _SC_2_C_VERSION
  268. _SC_2_UPE,
  269. #define _SC_2_UPE _SC_2_UPE
  270. _SC_XOPEN_XPG2,
  271. #define _SC_XOPEN_XPG2 _SC_XOPEN_XPG2
  272. _SC_XOPEN_XPG3,
  273. #define _SC_XOPEN_XPG3 _SC_XOPEN_XPG3
  274. _SC_XOPEN_XPG4,
  275. #define _SC_XOPEN_XPG4 _SC_XOPEN_XPG4
  276. _SC_CHAR_BIT,
  277. #define _SC_CHAR_BIT _SC_CHAR_BIT
  278. _SC_CHAR_MAX,
  279. #define _SC_CHAR_MAX _SC_CHAR_MAX
  280. _SC_CHAR_MIN,
  281. #define _SC_CHAR_MIN _SC_CHAR_MIN
  282. _SC_INT_MAX,
  283. #define _SC_INT_MAX _SC_INT_MAX
  284. _SC_INT_MIN,
  285. #define _SC_INT_MIN _SC_INT_MIN
  286. _SC_LONG_BIT,
  287. #define _SC_LONG_BIT _SC_LONG_BIT
  288. _SC_WORD_BIT,
  289. #define _SC_WORD_BIT _SC_WORD_BIT
  290. _SC_MB_LEN_MAX,
  291. #define _SC_MB_LEN_MAX _SC_MB_LEN_MAX
  292. _SC_NZERO,
  293. #define _SC_NZERO _SC_NZERO
  294. _SC_SSIZE_MAX,
  295. #define _SC_SSIZE_MAX _SC_SSIZE_MAX
  296. _SC_SCHAR_MAX,
  297. #define _SC_SCHAR_MAX _SC_SCHAR_MAX
  298. _SC_SCHAR_MIN,
  299. #define _SC_SCHAR_MIN _SC_SCHAR_MIN
  300. _SC_SHRT_MAX,
  301. #define _SC_SHRT_MAX _SC_SHRT_MAX
  302. _SC_SHRT_MIN,
  303. #define _SC_SHRT_MIN _SC_SHRT_MIN
  304. _SC_UCHAR_MAX,
  305. #define _SC_UCHAR_MAX _SC_UCHAR_MAX
  306. _SC_UINT_MAX,
  307. #define _SC_UINT_MAX _SC_UINT_MAX
  308. _SC_ULONG_MAX,
  309. #define _SC_ULONG_MAX _SC_ULONG_MAX
  310. _SC_USHRT_MAX,
  311. #define _SC_USHRT_MAX _SC_USHRT_MAX
  312. _SC_NL_ARGMAX,
  313. #define _SC_NL_ARGMAX _SC_NL_ARGMAX
  314. _SC_NL_LANGMAX,
  315. #define _SC_NL_LANGMAX _SC_NL_LANGMAX
  316. _SC_NL_MSGMAX,
  317. #define _SC_NL_MSGMAX _SC_NL_MSGMAX
  318. _SC_NL_NMAX,
  319. #define _SC_NL_NMAX _SC_NL_NMAX
  320. _SC_NL_SETMAX,
  321. #define _SC_NL_SETMAX _SC_NL_SETMAX
  322. _SC_NL_TEXTMAX,
  323. #define _SC_NL_TEXTMAX _SC_NL_TEXTMAX
  324. _SC_XBS5_ILP32_OFF32,
  325. #define _SC_XBS5_ILP32_OFF32 _SC_XBS5_ILP32_OFF32
  326. _SC_XBS5_ILP32_OFFBIG,
  327. #define _SC_XBS5_ILP32_OFFBIG _SC_XBS5_ILP32_OFFBIG
  328. _SC_XBS5_LP64_OFF64,
  329. #define _SC_XBS5_LP64_OFF64 _SC_XBS5_LP64_OFF64
  330. _SC_XBS5_LPBIG_OFFBIG,
  331. #define _SC_XBS5_LPBIG_OFFBIG _SC_XBS5_LPBIG_OFFBIG
  332. _SC_XOPEN_LEGACY,
  333. #define _SC_XOPEN_LEGACY _SC_XOPEN_LEGACY
  334. _SC_XOPEN_REALTIME,
  335. #define _SC_XOPEN_REALTIME _SC_XOPEN_REALTIME
  336. _SC_XOPEN_REALTIME_THREADS,
  337. #define _SC_XOPEN_REALTIME_THREADS _SC_XOPEN_REALTIME_THREADS
  338. _SC_ADVISORY_INFO,
  339. #define _SC_ADVISORY_INFO _SC_ADVISORY_INFO
  340. _SC_BARRIERS,
  341. #define _SC_BARRIERS _SC_BARRIERS
  342. _SC_BASE,
  343. #define _SC_BASE _SC_BASE
  344. _SC_C_LANG_SUPPORT,
  345. #define _SC_C_LANG_SUPPORT _SC_C_LANG_SUPPORT
  346. _SC_C_LANG_SUPPORT_R,
  347. #define _SC_C_LANG_SUPPORT_R _SC_C_LANG_SUPPORT_R
  348. _SC_CLOCK_SELECTION,
  349. #define _SC_CLOCK_SELECTION _SC_CLOCK_SELECTION
  350. _SC_CPUTIME,
  351. #define _SC_CPUTIME _SC_CPUTIME
  352. _SC_THREAD_CPUTIME,
  353. #define _SC_THREAD_CPUTIME _SC_THREAD_CPUTIME
  354. _SC_DEVICE_IO,
  355. #define _SC_DEVICE_IO _SC_DEVICE_IO
  356. _SC_DEVICE_SPECIFIC,
  357. #define _SC_DEVICE_SPECIFIC _SC_DEVICE_SPECIFIC
  358. _SC_DEVICE_SPECIFIC_R,
  359. #define _SC_DEVICE_SPECIFIC_R _SC_DEVICE_SPECIFIC_R
  360. _SC_FD_MGMT,
  361. #define _SC_FD_MGMT _SC_FD_MGMT
  362. _SC_FIFO,
  363. #define _SC_FIFO _SC_FIFO
  364. _SC_PIPE,
  365. #define _SC_PIPE _SC_PIPE
  366. _SC_FILE_ATTRIBUTES,
  367. #define _SC_FILE_ATTRIBUTES _SC_FILE_ATTRIBUTES
  368. _SC_FILE_LOCKING,
  369. #define _SC_FILE_LOCKING _SC_FILE_LOCKING
  370. _SC_FILE_SYSTEM,
  371. #define _SC_FILE_SYSTEM _SC_FILE_SYSTEM
  372. _SC_MONOTONIC_CLOCK,
  373. #define _SC_MONOTONIC_CLOCK _SC_MONOTONIC_CLOCK
  374. _SC_MULTI_PROCESS,
  375. #define _SC_MULTI_PROCESS _SC_MULTI_PROCESS
  376. _SC_SINGLE_PROCESS,
  377. #define _SC_SINGLE_PROCESS _SC_SINGLE_PROCESS
  378. _SC_NETWORKING,
  379. #define _SC_NETWORKING _SC_NETWORKING
  380. _SC_READER_WRITER_LOCKS,
  381. #define _SC_READER_WRITER_LOCKS _SC_READER_WRITER_LOCKS
  382. _SC_SPIN_LOCKS,
  383. #define _SC_SPIN_LOCKS _SC_SPIN_LOCKS
  384. _SC_REGEXP,
  385. #define _SC_REGEXP _SC_REGEXP
  386. _SC_REGEX_VERSION,
  387. #define _SC_REGEX_VERSION _SC_REGEX_VERSION
  388. _SC_SHELL,
  389. #define _SC_SHELL _SC_SHELL
  390. _SC_SIGNALS,
  391. #define _SC_SIGNALS _SC_SIGNALS
  392. _SC_SPAWN,
  393. #define _SC_SPAWN _SC_SPAWN
  394. _SC_SPORADIC_SERVER,
  395. #define _SC_SPORADIC_SERVER _SC_SPORADIC_SERVER
  396. _SC_THREAD_SPORADIC_SERVER,
  397. #define _SC_THREAD_SPORADIC_SERVER _SC_THREAD_SPORADIC_SERVER
  398. _SC_SYSTEM_DATABASE,
  399. #define _SC_SYSTEM_DATABASE _SC_SYSTEM_DATABASE
  400. _SC_SYSTEM_DATABASE_R,
  401. #define _SC_SYSTEM_DATABASE_R _SC_SYSTEM_DATABASE_R
  402. _SC_TIMEOUTS,
  403. #define _SC_TIMEOUTS _SC_TIMEOUTS
  404. _SC_TYPED_MEMORY_OBJECTS,
  405. #define _SC_TYPED_MEMORY_OBJECTS _SC_TYPED_MEMORY_OBJECTS
  406. _SC_USER_GROUPS,
  407. #define _SC_USER_GROUPS _SC_USER_GROUPS
  408. _SC_USER_GROUPS_R,
  409. #define _SC_USER_GROUPS_R _SC_USER_GROUPS_R
  410. _SC_2_PBS,
  411. #define _SC_2_PBS _SC_2_PBS
  412. _SC_2_PBS_ACCOUNTING,
  413. #define _SC_2_PBS_ACCOUNTING _SC_2_PBS_ACCOUNTING
  414. _SC_2_PBS_LOCATE,
  415. #define _SC_2_PBS_LOCATE _SC_2_PBS_LOCATE
  416. _SC_2_PBS_MESSAGE,
  417. #define _SC_2_PBS_MESSAGE _SC_2_PBS_MESSAGE
  418. _SC_2_PBS_TRACK,
  419. #define _SC_2_PBS_TRACK _SC_2_PBS_TRACK
  420. _SC_SYMLOOP_MAX,
  421. #define _SC_SYMLOOP_MAX _SC_SYMLOOP_MAX
  422. _SC_STREAMS,
  423. #define _SC_STREAMS _SC_STREAMS
  424. _SC_2_PBS_CHECKPOINT,
  425. #define _SC_2_PBS_CHECKPOINT _SC_2_PBS_CHECKPOINT
  426. _SC_V6_ILP32_OFF32,
  427. #define _SC_V6_ILP32_OFF32 _SC_V6_ILP32_OFF32
  428. _SC_V6_ILP32_OFFBIG,
  429. #define _SC_V6_ILP32_OFFBIG _SC_V6_ILP32_OFFBIG
  430. _SC_V6_LP64_OFF64,
  431. #define _SC_V6_LP64_OFF64 _SC_V6_LP64_OFF64
  432. _SC_V6_LPBIG_OFFBIG,
  433. #define _SC_V6_LPBIG_OFFBIG _SC_V6_LPBIG_OFFBIG
  434. _SC_HOST_NAME_MAX,
  435. #define _SC_HOST_NAME_MAX _SC_HOST_NAME_MAX
  436. _SC_TRACE,
  437. #define _SC_TRACE _SC_TRACE
  438. _SC_TRACE_EVENT_FILTER,
  439. #define _SC_TRACE_EVENT_FILTER _SC_TRACE_EVENT_FILTER
  440. _SC_TRACE_INHERIT,
  441. #define _SC_TRACE_INHERIT _SC_TRACE_INHERIT
  442. _SC_TRACE_LOG,
  443. #define _SC_TRACE_LOG _SC_TRACE_LOG
  444. _SC_LEVEL1_ICACHE_SIZE,
  445. #define _SC_LEVEL1_ICACHE_SIZE _SC_LEVEL1_ICACHE_SIZE
  446. _SC_LEVEL1_ICACHE_ASSOC,
  447. #define _SC_LEVEL1_ICACHE_ASSOC _SC_LEVEL1_ICACHE_ASSOC
  448. _SC_LEVEL1_ICACHE_LINESIZE,
  449. #define _SC_LEVEL1_ICACHE_LINESIZE _SC_LEVEL1_ICACHE_LINESIZE
  450. _SC_LEVEL1_DCACHE_SIZE,
  451. #define _SC_LEVEL1_DCACHE_SIZE _SC_LEVEL1_DCACHE_SIZE
  452. _SC_LEVEL1_DCACHE_ASSOC,
  453. #define _SC_LEVEL1_DCACHE_ASSOC _SC_LEVEL1_DCACHE_ASSOC
  454. _SC_LEVEL1_DCACHE_LINESIZE,
  455. #define _SC_LEVEL1_DCACHE_LINESIZE _SC_LEVEL1_DCACHE_LINESIZE
  456. _SC_LEVEL2_CACHE_SIZE,
  457. #define _SC_LEVEL2_CACHE_SIZE _SC_LEVEL2_CACHE_SIZE
  458. _SC_LEVEL2_CACHE_ASSOC,
  459. #define _SC_LEVEL2_CACHE_ASSOC _SC_LEVEL2_CACHE_ASSOC
  460. _SC_LEVEL2_CACHE_LINESIZE,
  461. #define _SC_LEVEL2_CACHE_LINESIZE _SC_LEVEL2_CACHE_LINESIZE
  462. _SC_LEVEL3_CACHE_SIZE,
  463. #define _SC_LEVEL3_CACHE_SIZE _SC_LEVEL3_CACHE_SIZE
  464. _SC_LEVEL3_CACHE_ASSOC,
  465. #define _SC_LEVEL3_CACHE_ASSOC _SC_LEVEL3_CACHE_ASSOC
  466. _SC_LEVEL3_CACHE_LINESIZE,
  467. #define _SC_LEVEL3_CACHE_LINESIZE _SC_LEVEL3_CACHE_LINESIZE
  468. _SC_LEVEL4_CACHE_SIZE,
  469. #define _SC_LEVEL4_CACHE_SIZE _SC_LEVEL4_CACHE_SIZE
  470. _SC_LEVEL4_CACHE_ASSOC,
  471. #define _SC_LEVEL4_CACHE_ASSOC _SC_LEVEL4_CACHE_ASSOC
  472. _SC_LEVEL4_CACHE_LINESIZE,
  473. #define _SC_LEVEL4_CACHE_LINESIZE _SC_LEVEL4_CACHE_LINESIZE
  474. /* Leave room here, maybe we need a few more cache levels some day. */
  475. _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
  476. #define _SC_IPV6 _SC_IPV6
  477. _SC_RAW_SOCKETS,
  478. #define _SC_RAW_SOCKETS _SC_RAW_SOCKETS
  479. _SC_V7_ILP32_OFF32,
  480. #define _SC_V7_ILP32_OFF32 _SC_V7_ILP32_OFF32
  481. _SC_V7_ILP32_OFFBIG,
  482. #define _SC_V7_ILP32_OFFBIG _SC_V7_ILP32_OFFBIG
  483. _SC_V7_LP64_OFF64,
  484. #define _SC_V7_LP64_OFF64 _SC_V7_LP64_OFF64
  485. _SC_V7_LPBIG_OFFBIG,
  486. #define _SC_V7_LPBIG_OFFBIG _SC_V7_LPBIG_OFFBIG
  487. _SC_SS_REPL_MAX,
  488. #define _SC_SS_REPL_MAX _SC_SS_REPL_MAX
  489. _SC_TRACE_EVENT_NAME_MAX,
  490. #define _SC_TRACE_EVENT_NAME_MAX _SC_TRACE_EVENT_NAME_MAX
  491. _SC_TRACE_NAME_MAX,
  492. #define _SC_TRACE_NAME_MAX _SC_TRACE_NAME_MAX
  493. _SC_TRACE_SYS_MAX,
  494. #define _SC_TRACE_SYS_MAX _SC_TRACE_SYS_MAX
  495. _SC_TRACE_USER_EVENT_MAX,
  496. #define _SC_TRACE_USER_EVENT_MAX _SC_TRACE_USER_EVENT_MAX
  497. _SC_XOPEN_STREAMS,
  498. #define _SC_XOPEN_STREAMS _SC_XOPEN_STREAMS
  499. _SC_THREAD_ROBUST_PRIO_INHERIT,
  500. #define _SC_THREAD_ROBUST_PRIO_INHERIT _SC_THREAD_ROBUST_PRIO_INHERIT
  501. _SC_THREAD_ROBUST_PRIO_PROTECT
  502. #define _SC_THREAD_ROBUST_PRIO_PROTECT _SC_THREAD_ROBUST_PRIO_PROTECT
  503. };
  504. /* Values for the NAME argument to `confstr'. */
  505. enum
  506. {
  507. _CS_PATH, /* The default search path. */
  508. #define _CS_PATH _CS_PATH
  509. _CS_V6_WIDTH_RESTRICTED_ENVS,
  510. #define _CS_V6_WIDTH_RESTRICTED_ENVS _CS_V6_WIDTH_RESTRICTED_ENVS
  511. #define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS _CS_V6_WIDTH_RESTRICTED_ENVS
  512. _CS_GNU_LIBC_VERSION,
  513. #define _CS_GNU_LIBC_VERSION _CS_GNU_LIBC_VERSION
  514. _CS_GNU_LIBPTHREAD_VERSION,
  515. #define _CS_GNU_LIBPTHREAD_VERSION _CS_GNU_LIBPTHREAD_VERSION
  516. _CS_V5_WIDTH_RESTRICTED_ENVS,
  517. #define _CS_V5_WIDTH_RESTRICTED_ENVS _CS_V5_WIDTH_RESTRICTED_ENVS
  518. #define _CS_POSIX_V5_WIDTH_RESTRICTED_ENVS _CS_V5_WIDTH_RESTRICTED_ENVS
  519. _CS_V7_WIDTH_RESTRICTED_ENVS,
  520. #define _CS_V7_WIDTH_RESTRICTED_ENVS _CS_V7_WIDTH_RESTRICTED_ENVS
  521. #define _CS_POSIX_V7_WIDTH_RESTRICTED_ENVS _CS_V7_WIDTH_RESTRICTED_ENVS
  522. # if (defined __USE_FILE_OFFSET64 || defined __USE_LARGEFILE64 \
  523. || defined __USE_LARGEFILE)
  524. _CS_LFS_CFLAGS = 1000,
  525. #define _CS_LFS_CFLAGS _CS_LFS_CFLAGS
  526. _CS_LFS_LDFLAGS,
  527. #define _CS_LFS_LDFLAGS _CS_LFS_LDFLAGS
  528. _CS_LFS_LIBS,
  529. #define _CS_LFS_LIBS _CS_LFS_LIBS
  530. _CS_LFS_LINTFLAGS,
  531. #define _CS_LFS_LINTFLAGS _CS_LFS_LINTFLAGS
  532. _CS_LFS64_CFLAGS,
  533. #define _CS_LFS64_CFLAGS _CS_LFS64_CFLAGS
  534. _CS_LFS64_LDFLAGS,
  535. #define _CS_LFS64_LDFLAGS _CS_LFS64_LDFLAGS
  536. _CS_LFS64_LIBS,
  537. #define _CS_LFS64_LIBS _CS_LFS64_LIBS
  538. _CS_LFS64_LINTFLAGS,
  539. #define _CS_LFS64_LINTFLAGS _CS_LFS64_LINTFLAGS
  540. # endif
  541. # ifdef __USE_UNIX98
  542. _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
  543. #define _CS_XBS5_ILP32_OFF32_CFLAGS _CS_XBS5_ILP32_OFF32_CFLAGS
  544. _CS_XBS5_ILP32_OFF32_LDFLAGS,
  545. #define _CS_XBS5_ILP32_OFF32_LDFLAGS _CS_XBS5_ILP32_OFF32_LDFLAGS
  546. _CS_XBS5_ILP32_OFF32_LIBS,
  547. #define _CS_XBS5_ILP32_OFF32_LIBS _CS_XBS5_ILP32_OFF32_LIBS
  548. _CS_XBS5_ILP32_OFF32_LINTFLAGS,
  549. #define _CS_XBS5_ILP32_OFF32_LINTFLAGS _CS_XBS5_ILP32_OFF32_LINTFLAGS
  550. _CS_XBS5_ILP32_OFFBIG_CFLAGS,
  551. #define _CS_XBS5_ILP32_OFFBIG_CFLAGS _CS_XBS5_ILP32_OFFBIG_CFLAGS
  552. _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
  553. #define _CS_XBS5_ILP32_OFFBIG_LDFLAGS _CS_XBS5_ILP32_OFFBIG_LDFLAGS
  554. _CS_XBS5_ILP32_OFFBIG_LIBS,
  555. #define _CS_XBS5_ILP32_OFFBIG_LIBS _CS_XBS5_ILP32_OFFBIG_LIBS
  556. _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
  557. #define _CS_XBS5_ILP32_OFFBIG_LINTFLAGS _CS_XBS5_ILP32_OFFBIG_LINTFLAGS
  558. _CS_XBS5_LP64_OFF64_CFLAGS,
  559. #define _CS_XBS5_LP64_OFF64_CFLAGS _CS_XBS5_LP64_OFF64_CFLAGS
  560. _CS_XBS5_LP64_OFF64_LDFLAGS,
  561. #define _CS_XBS5_LP64_OFF64_LDFLAGS _CS_XBS5_LP64_OFF64_LDFLAGS
  562. _CS_XBS5_LP64_OFF64_LIBS,
  563. #define _CS_XBS5_LP64_OFF64_LIBS _CS_XBS5_LP64_OFF64_LIBS
  564. _CS_XBS5_LP64_OFF64_LINTFLAGS,
  565. #define _CS_XBS5_LP64_OFF64_LINTFLAGS _CS_XBS5_LP64_OFF64_LINTFLAGS
  566. _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
  567. #define _CS_XBS5_LPBIG_OFFBIG_CFLAGS _CS_XBS5_LPBIG_OFFBIG_CFLAGS
  568. _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
  569. #define _CS_XBS5_LPBIG_OFFBIG_LDFLAGS _CS_XBS5_LPBIG_OFFBIG_LDFLAGS
  570. _CS_XBS5_LPBIG_OFFBIG_LIBS,
  571. #define _CS_XBS5_LPBIG_OFFBIG_LIBS _CS_XBS5_LPBIG_OFFBIG_LIBS
  572. _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
  573. #define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS
  574. # endif
  575. # ifdef __USE_XOPEN2K
  576. _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
  577. #define _CS_POSIX_V6_ILP32_OFF32_CFLAGS _CS_POSIX_V6_ILP32_OFF32_CFLAGS
  578. _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
  579. #define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS _CS_POSIX_V6_ILP32_OFF32_LDFLAGS
  580. _CS_POSIX_V6_ILP32_OFF32_LIBS,
  581. #define _CS_POSIX_V6_ILP32_OFF32_LIBS _CS_POSIX_V6_ILP32_OFF32_LIBS
  582. _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
  583. #define _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS
  584. _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
  585. #define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
  586. _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
  587. #define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
  588. _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
  589. #define _CS_POSIX_V6_ILP32_OFFBIG_LIBS _CS_POSIX_V6_ILP32_OFFBIG_LIBS
  590. _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
  591. #define _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS
  592. _CS_POSIX_V6_LP64_OFF64_CFLAGS,
  593. #define _CS_POSIX_V6_LP64_OFF64_CFLAGS _CS_POSIX_V6_LP64_OFF64_CFLAGS
  594. _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
  595. #define _CS_POSIX_V6_LP64_OFF64_LDFLAGS _CS_POSIX_V6_LP64_OFF64_LDFLAGS
  596. _CS_POSIX_V6_LP64_OFF64_LIBS,
  597. #define _CS_POSIX_V6_LP64_OFF64_LIBS _CS_POSIX_V6_LP64_OFF64_LIBS
  598. _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
  599. #define _CS_POSIX_V6_LP64_OFF64_LINTFLAGS _CS_POSIX_V6_LP64_OFF64_LINTFLAGS
  600. _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
  601. #define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
  602. _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
  603. #define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
  604. _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
  605. #define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
  606. _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
  607. #define _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
  608. # endif
  609. # ifdef __USE_XOPEN2K8
  610. _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
  611. #define _CS_POSIX_V7_ILP32_OFF32_CFLAGS _CS_POSIX_V7_ILP32_OFF32_CFLAGS
  612. _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
  613. #define _CS_POSIX_V7_ILP32_OFF32_LDFLAGS _CS_POSIX_V7_ILP32_OFF32_LDFLAGS
  614. _CS_POSIX_V7_ILP32_OFF32_LIBS,
  615. #define _CS_POSIX_V7_ILP32_OFF32_LIBS _CS_POSIX_V7_ILP32_OFF32_LIBS
  616. _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
  617. #define _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS
  618. _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
  619. #define _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS
  620. _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
  621. #define _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS
  622. _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
  623. #define _CS_POSIX_V7_ILP32_OFFBIG_LIBS _CS_POSIX_V7_ILP32_OFFBIG_LIBS
  624. _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
  625. #define _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS
  626. _CS_POSIX_V7_LP64_OFF64_CFLAGS,
  627. #define _CS_POSIX_V7_LP64_OFF64_CFLAGS _CS_POSIX_V7_LP64_OFF64_CFLAGS
  628. _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
  629. #define _CS_POSIX_V7_LP64_OFF64_LDFLAGS _CS_POSIX_V7_LP64_OFF64_LDFLAGS
  630. _CS_POSIX_V7_LP64_OFF64_LIBS,
  631. #define _CS_POSIX_V7_LP64_OFF64_LIBS _CS_POSIX_V7_LP64_OFF64_LIBS
  632. _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
  633. #define _CS_POSIX_V7_LP64_OFF64_LINTFLAGS _CS_POSIX_V7_LP64_OFF64_LINTFLAGS
  634. _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
  635. #define _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS
  636. _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
  637. #define _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS
  638. _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
  639. #define _CS_POSIX_V7_LPBIG_OFFBIG_LIBS _CS_POSIX_V7_LPBIG_OFFBIG_LIBS
  640. _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS
  641. #define _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS
  642. # endif
  643. };