The GNU C Library - Constants for Sysconf

Node: Constants for Sysconf Next: Examples of Sysconf Prev: Sysconf Definition Up: Sysconf

Constants for sysconf Parameters

Here 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
Inquire about the parameter corresponding to ARG_MAX .

_SC_CHILD_MAX
Inquire about the parameter corresponding to CHILD_MAX .

_SC_OPEN_MAX
Inquire about the parameter corresponding to OPEN_MAX .

_SC_STREAM_MAX
Inquire about the parameter corresponding to STREAM_MAX .

_SC_TZNAME_MAX
Inquire about the parameter corresponding to TZNAME_MAX .

_SC_NGROUPS_MAX
Inquire about the parameter corresponding to NGROUPS_MAX .

_SC_JOB_CONTROL
Inquire about the parameter corresponding to _POSIX_JOB_CONTROL .

_SC_SAVED_IDS
Inquire about the parameter corresponding to _POSIX_SAVED_IDS .

_SC_VERSION
Inquire about the parameter corresponding to _POSIX_VERSION .

_SC_CLK_TCK
Inquire about the parameter corresponding to CLOCKS_PER_SEC ; see Basic CPU Time.

_SC_2_C_DEV
Inquire about whether the system has the POSIX.2 C compiler command, c89 .

_SC_2_FORT_DEV
Inquire about whether the system has the POSIX.2 Fortran compiler command, fort77 .

_SC_2_FORT_RUN
Inquire about whether the system has the POSIX.2 asa command to interpret Fortran carriage control.

_SC_2_LOCALEDEF
Inquire about whether the system has the POSIX.2 localedef command.

_SC_2_SW_DEV
Inquire about whether the system has the POSIX.2 commands ar , make , and strip .

_SC_BC_BASE_MAX
Inquire about the maximum value of obase in the bc utility.

_SC_BC_DIM_MAX
Inquire about the maximum size of an array in the bc utility.

_SC_BC_SCALE_MAX
Inquire about the maximum value of scale in the bc utility.

_SC_BC_STRING_MAX
Inquire about the maximum size of a string constant in the bc utility.

_SC_COLL_WEIGHTS_MAX
Inquire about the maximum number of weights that can necessarily be used in defining the collating sequence for a locale.

_SC_EXPR_NEST_MAX
Inquire about the maximum number of expressions nested within parentheses when using the expr utility.

_SC_LINE_MAX
Inquire about the maximum size of a text line that the POSIX.2 text utilities can handle.

_SC_EQUIV_CLASS_MAX
Inquire about the maximum number of weights that can be assigned to an entry of the LC_COLLATE category `order' keyword in a locale definition. The GNU C library does not presently support locale definitions.

_SC_VERSION
Inquire about the version number of POSIX.1 that the library and kernel support.

_SC_2_VERSION
Inquire about the version number of POSIX.2 that the system utilities support.

_SC_PAGESIZE
Inquire about the virtual memory page size of the machine. getpagesize returns the same value.


Next: Examples of Sysconf Up: Sysconf