confname.h
上传用户:szlgq88
上传日期:2009-04-28
资源大小:48287k
文件大小:20k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

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