sysconf(3P) sysconf(3P)NAME sysconf - get configurable system variables SYNOPSIS #include <unistd.h> long sysconf(name) int name; DESCRIPTION sysconf allows an application to determine the current value of a configurable system variable. name represents the system variable to be queried. Allow- able values for name are: _SC_ARG_MAX _SC_CHILD_MAX _SC_CLK_TCK _SC_NGROUPS_MAX _SC_OPEN_MAX _SC_PASS_MAX _SC_PID_MAX _SC_UID_MAX _SC_EXIT_SIGHUP _SC_JOB_CONTROL _SC_KILL_PID_NEG1 _SC_KILL_SAVED _SC_PGID_CLEAR _SC_SAVED_IDS _SC_VERSION RETURN VALUE sysconf returns the current value of the specified variable. The value returned will not be more restrictive than the value described to the application when it was compiled with <limits.h> or <unistd.h>. The value will not change during the lifetime of the calling process. ERRORS If name is not defined on the system or name is invalid, sysconf will return -1. SEE ALSO pathconf(3P). April, 1990 1