Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

sysconf(3) Guardian Native C Library Calls Reference Manual
NAME
sysconf - Gets congurable system variables
LIBRARY
G-series native Guardian processes: system library
G-series native OSS processes: system library
H-series native Guardian processes: implicit libraries
H-series OSS processes: implicit libraries
SYNOPSIS
#include <unistd.h>
long int sysconf(
int name);
PARAMETERS
name Species the system variable to be queried.
DESCRIPTION
The sysconf() function provides a method for determining the current value of a congurable
system limit or whether optional features are supported.
The set of system variables from the limits.h or unistd.h header le that are returned by the sys-
conf() function, and the symbolic constants dened in the unistd.h header le that correspond to
the name parameter, are as follows:
ARG_MAX Is the maximum length, in bytes, of the parameters for one of the exec or
tdm_exec set of functions, including environment data. This variable is not
available at compile time.
Value of name: _SC_ARG_MAX
BC_BASE_MAX
Is the maximum obase value allowed by the bc command.
Value of name: _SC_BC_BASE_MAX
BC_DIM_MAX
Is the maximum number of elements permitted in an array by the bc command.
Value of name: _SC_BC_DIM_MAX
BC_SCALE_MAX
Is the maximum scale value allowed by the bc command.
Value of name: _SC_BC_SCALE_MAX
BC_STRING_MAX
Is the maximum length of string constants accepted by the bc command.
Value of name: _SC_BC_STRING_MAX
CHILD_MAX Is the maximum number of simultaneous processes for each real user ID. This
variable is not available at compile time.
Value of name: _SC_CHILD_MAX
CLK_TCK Is the number of clock ticks per second. This value can vary, and the value is not
available at compile time.
Value of name: _SC_CLK_TCK
6100 Hewlett-Packard Company 527192-007