Node:Utility Limits, Next:, Previous:Pathconf, Up:System Configuration



Utility Program Capacity Limits

The POSIX.2 standard specifies certain system limits that you can access through sysconf that apply to utility behavior rather than the behavior of the library or the operating system.

The GNU C library defines macros for these limits, and sysconf returns values for them if you ask; but these values convey no meaningful information. They are simply the smallest values that POSIX.2 permits.

int BC_BASE_MAX Macro
The largest value of obase that the bc utility is guaranteed to support.

int BC_DIM_MAX Macro
The largest number of elements in one array that the bc utility is guaranteed to support.

int BC_SCALE_MAX Macro
The largest value of scale that the bc utility is guaranteed to support.

int BC_STRING_MAX Macro
The largest number of characters in one string constant that the bc utility is guaranteed to support.

int COLL_WEIGHTS_MAX Macro
The largest number of weights that can necessarily be used in defining the collating sequence for a locale.

int EXPR_NEST_MAX Macro
The maximum number of expressions that can be nested within parenthesis by the expr utility.

int LINE_MAX Macro
The largest text line that the text-oriented POSIX.2 utilities can support. (If you are using the GNU versions of these utilities, then there is no actual limit except that imposed by the available virtual memory, but there is no way that the library can tell you this.)

int EQUIV_CLASS_MAX Macro
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.