Table of Contents

NAME

SYNOPSIS

DESCRIPTION

This interface is defined by A far more complete interface is available using The function provides a method for applications to determine the current value of a configurable system limit or option variable. The argument specifies the system variable to be queried. Symbolic constants for each name value are found in the include file The available values are as follows: The maximum bytes of argument to The maximum number of simultaneous processes per user id. Number of micro-seconds per hz tick. The maximum number of supplemental groups. The maximum number of open files per user id. The minimum maximum number of streams that a process may have open at any one time. The minimum maximum number of types supported for the name of a timezone. Return 1 if job control is available on this system, otherwise -1. Returns 1 if saved set-group and saved set-user ID is available, otherwise -1. The version of ISO/IEC 9945 (POSIX 1003.1) with which the system attempts to comply. The maximum ibase/obase values in the utility. The maximum array size in the utility. The maximum scale value in the utility. The maximum string length in the utility. The maximum number of weights that can be assigned to any entry of the LC_COLLATE order keyword in the locale definition file. The maximum number of expressions that can be nested within parenthesis by the utility. The maximum length in bytes of a text-processing utility’s input line. The maximum number of repeated occurrences of a regular expression permitted when using interval notation. The version of POSIX 1003.2 with which the system attempts to comply. Return 1 if the system’s C-language development facilities support the C-Language Bindings Option, otherwise -1. Return 1 if the system supports the C-Language Development Utilities Option, otherwise -1. Return 1 if the system supports at least one terminal type capable of all operations described in POSIX 1003.2, otherwise -1. Return 1 if the system supports the FORTRAN Development Utilities Option, otherwise -1. Return 1 if the system supports the FORTRAN Runtime Utilities Option, otherwise -1. Return 1 if the system supports the creation of locales, otherwise -1. Return 1 if the system supports the Software Development Utilities Option, otherwise -1. Return 1 if the system supports the User Portability Utilities Option, otherwise -1.

RETURN VALUES

If the call to is not successful, -1 is returned and is set appropriately. Otherwise, if the variable is associated with functionality that is not supported, -1 is returned and is not modified. Otherwise, the current variable value is returned.

ERRORS

The function may fail and set for any of the errors specified for the library functions In addition, the following error may be reported: The value of the argument is invalid.

SEE ALSO

BUGS

The value for _SC_STREAM_MAX is a minimum maximum, and required to be the same as ANSI C’s FOPEN_MAX, so the returned value is a ridiculously small and misleading number.

STANDARDS

The function conforms to

HISTORY

The function first appeared in 4.4BSD.


Table of Contents