sysconf
ParametersHere are the symbolic constants for use as the parameter argument
to sysconf
. The values are all integer constants (more
specifically, enumeration type values).
_SC_ARG_MAX
ARG_MAX
.
_SC_CHILD_MAX
CHILD_MAX
.
_SC_OPEN_MAX
OPEN_MAX
.
_SC_STREAM_MAX
STREAM_MAX
.
_SC_TZNAME_MAX
TZNAME_MAX
.
_SC_NGROUPS_MAX
NGROUPS_MAX
.
_SC_JOB_CONTROL
_POSIX_JOB_CONTROL
.
_SC_SAVED_IDS
_POSIX_SAVED_IDS
.
_SC_VERSION
_POSIX_VERSION
.
_SC_CLK_TCK
CLK_TCK
is obsolete.
_SC_CHARCLASS_NAME_MAX
_SC_REALTIME_SIGNALS
_POSIX_REALTIME_SIGNALS
.
_SC_PRIORITY_SCHEDULING
_POSIX_PRIORITY_SCHEDULING
.
_SC_TIMERS
_POSIX_TIMERS
.
_SC_ASYNCHRONOUS_IO
_POSIX_ASYNCHRONOUS_IO
.
_SC_PRIORITIZED_IO
_POSIX_PRIORITIZED_IO
.
_SC_SYNCHRONIZED_IO
_POSIX_SYNCHRONIZED_IO
.
_SC_FSYNC
_POSIX_FSYNC
.
_SC_MAPPED_FILES
_POSIX_MAPPED_FILES
.
_SC_MEMLOCK
_POSIX_MEMLOCK
.
_SC_MEMLOCK_RANGE
_POSIX_MEMLOCK_RANGE
.
_SC_MEMORY_PROTECTION
_POSIX_MEMORY_PROTECTION
.
_SC_MESSAGE_PASSING
_POSIX_MESSAGE_PASSING
.
_SC_SEMAPHORES
_POSIX_SEMAPHORES
.
_SC_SHARED_MEMORY_OBJECTS
_POSIX_SHARED_MEMORY_OBJECTS
.
_SC_AIO_LISTIO_MAX
_POSIX_AIO_LISTIO_MAX
.
_SC_AIO_MAX
_POSIX_AIO_MAX
.
_SC_AIO_PRIO_DELTA_MAX
AIO_PRIO_DELTA_MAX
.
_SC_DELAYTIMER_MAX
_POSIX_DELAYTIMER_MAX
.
_SC_MQ_OPEN_MAX
_POSIX_MQ_OPEN_MAX
.
_SC_MQ_PRIO_MAX
_POSIX_MQ_PRIO_MAX
.
_SC_RTSIG_MAX
_POSIX_RTSIG_MAX
.
_SC_SEM_NSEMS_MAX
_POSIX_SEM_NSEMS_MAX
.
_SC_SEM_VALUE_MAX
_POSIX_SEM_VALUE_MAX
.
_SC_SIGQUEUE_MAX
_POSIX_SIGQUEUE_MAX
.
_SC_TIMER_MAX
_POSIX_TIMER_MAX
.
_SC_PII
_POSIX_PII
.
_SC_PII_XTI
_POSIX_PII_XTI
.
_SC_PII_SOCKET
_POSIX_PII_SOCKET
.
_SC_PII_INTERNET
_POSIX_PII_INTERNET
.
_SC_PII_OSI
_POSIX_PII_OSI
.
_SC_SELECT
_POSIX_SELECT
.
_SC_UIO_MAXIOV
_POSIX_UIO_MAXIOV
.
_SC_PII_INTERNET_STREAM
_POSIX_PII_INTERNET_STREAM
.
_SC_PII_INTERNET_DGRAM
_POSIX_PII_INTERNET_DGRAM
.
_SC_PII_OSI_COTS
_POSIX_PII_OSI_COTS
.
_SC_PII_OSI_CLTS
_POSIX_PII_OSI_CLTS
.
_SC_PII_OSI_M
_POSIX_PII_OSI_M
.
_SC_T_IOV_MAX
T_IOV_MAX
variable.
_SC_THREADS
_POSIX_THREADS
.
_SC_THREAD_SAFE_FUNCTIONS
_POSIX_THREAD_SAFE_FUNCTIONS
.
_SC_GETGR_R_SIZE_MAX
_POSIX_GETGR_R_SIZE_MAX
.
_SC_GETPW_R_SIZE_MAX
_POSIX_GETPW_R_SIZE_MAX
.
_SC_LOGIN_NAME_MAX
_POSIX_LOGIN_NAME_MAX
.
_SC_TTY_NAME_MAX
_POSIX_TTY_NAME_MAX
.
_SC_THREAD_DESTRUCTOR_ITERATIONS
_POSIX_THREAD_DESTRUCTOR_ITERATIONS
.
_SC_THREAD_KEYS_MAX
_POSIX_THREAD_KEYS_MAX
.
_SC_THREAD_STACK_MIN
_POSIX_THREAD_STACK_MIN
.
_SC_THREAD_THREADS_MAX
_POSIX_THREAD_THREADS_MAX
.
_SC_THREAD_ATTR_STACKADDR
_POSIX_THREAD_ATTR_STACKADDR
.
_SC_THREAD_ATTR_STACKSIZE
_POSIX_THREAD_ATTR_STACKSIZE
.
_SC_THREAD_PRIORITY_SCHEDULING
_POSIX_THREAD_PRIORITY_SCHEDULING
.
_SC_THREAD_PRIO_INHERIT
_POSIX_THREAD_PRIO_INHERIT
.
_SC_THREAD_PRIO_PROTECT
_POSIX_THREAD_PRIO_PROTECT
.
_SC_THREAD_PROCESS_SHARED
_POSIX_THREAD_PROCESS_SHARED
.
_SC_2_C_DEV
c89
.
_SC_2_FORT_DEV
fort77
.
_SC_2_FORT_RUN
asa
command to
interpret Fortran carriage control.
_SC_2_LOCALEDEF
localedef
command.
_SC_2_SW_DEV
ar
,
make
, and strip
.
_SC_BC_BASE_MAX
obase
in the bc
utility.
_SC_BC_DIM_MAX
bc
utility.
_SC_BC_SCALE_MAX
scale
in the bc
utility.
_SC_BC_STRING_MAX
bc
utility.
_SC_COLL_WEIGHTS_MAX
_SC_EXPR_NEST_MAX
expr
utility.
_SC_LINE_MAX
_SC_EQUIV_CLASS_MAX
LC_COLLATE
category ‘order’ keyword in a locale
definition. The GNU C Library does not presently support locale
definitions.
_SC_VERSION
_SC_2_VERSION
_SC_PAGESIZE
getpagesize
returns the same value (see Query Memory Parameters).
_SC_NPROCESSORS_CONF
_SC_NPROCESSORS_ONLN
_SC_PHYS_PAGES
_SC_AVPHYS_PAGES
_SC_ATEXIT_MAX
atexit
; see Cleanups on Exit.
_SC_XOPEN_VERSION
_XOPEN_VERSION
.
_SC_XOPEN_XCU_VERSION
_XOPEN_XCU_VERSION
.
_SC_XOPEN_UNIX
_XOPEN_UNIX
.
_SC_XOPEN_REALTIME
_XOPEN_REALTIME
.
_SC_XOPEN_REALTIME_THREADS
_XOPEN_REALTIME_THREADS
.
_SC_XOPEN_LEGACY
_XOPEN_LEGACY
.
_SC_XOPEN_CRYPT
_XOPEN_CRYPT
.
_SC_XOPEN_ENH_I18N
_XOPEN_ENH_I18N
.
_SC_XOPEN_SHM
_XOPEN_SHM
.
_SC_XOPEN_XPG2
_XOPEN_XPG2
.
_SC_XOPEN_XPG3
_XOPEN_XPG3
.
_SC_XOPEN_XPG4
_XOPEN_XPG4
.
_SC_CHAR_BIT
char
.
_SC_CHAR_MAX
char
.
_SC_CHAR_MIN
char
.
_SC_INT_MAX
int
.
_SC_INT_MIN
int
.
_SC_LONG_BIT
long int
.
_SC_WORD_BIT
_SC_MB_LEN_MAX
_SC_NZERO
SC_SSIZE_MAX
ssize_t
.
_SC_SCHAR_MAX
signed char
.
_SC_SCHAR_MIN
signed char
.
_SC_SHRT_MAX
short int
.
_SC_SHRT_MIN
short int
.
_SC_UCHAR_MAX
unsigned char
.
_SC_UINT_MAX
unsigned int
.
_SC_ULONG_MAX
unsigned long int
.
_SC_USHRT_MAX
unsigned short int
.
_SC_NL_ARGMAX
NL_ARGMAX
.
_SC_NL_LANGMAX
NL_LANGMAX
.
_SC_NL_MSGMAX
NL_MSGMAX
.
_SC_NL_NMAX
NL_NMAX
.
_SC_NL_SETMAX
NL_SETMAX
.
_SC_NL_TEXTMAX
NL_TEXTMAX
.