HP-UX Reference (11i v3 07/02) - 2 System Calls (vol 5)
s
sysconf(2) sysconf(2)
NAME
sysconf(), CPU_IS_PA_RISC() - get configurable system variables
SYNOPSIS
#include <unistd.h>
long sysconf(int
name);
int CPU_IS_PA_RISC(long
cpuvers);
DESCRIPTION
The sysconf() system call provides a way for applications to determine the current value of a
configurable limit or variable.
The name argument represents the system variable being queried.
The following table lists the configuration variable name, the associated value for the name argument that
is used in the
sysconf() call and the value returned.
CPU_IS_PA_RISC()
is described in the entry for CPU_VERSION .
Some of the variables in the table are defined as constants in
<limits.h> (see limits(5)). The associated
values of the name argument are defined in
<unistd.h> .
__________________________________________________________________________________________________
Configuration Variable (Value for name Argument)
Value Returned by sysconf()
__________________________________________________________________________________________________
AES_OS_VERSION (_SC_AES_OS_VERSION
)
Version number of OSF/AES OSC supported.
AIO_LISTIO_MAX (_SC_AIO_LISTIO_MAX
)
Maximum number of aio operations that can be specified in a
lio_listio() call (see lio_listio(2)).
AIO_MAX (_SC_AIO_MAX )
Maximum number of aio operations that can be queued at any time (see
aio(5)).
AIO_PRIO_DELTA_MAX
(_SC_AIO_PRIO_DELTA_MAX
Maximum slowdown factor that can be specified in the aio_reqprio
field of a aiocb structure (see aio(5)).
ARG_MAX (_SC_ARG_MAX )
Maximum total length of the arguments for exec() in bytes, including
environment data (see exec(2)).
ATEXIT_MAX (_SC_ATEXIT_MAX)
Maximum number of functions that can be registered with atexit() (see
atexit(3)).
BC_BASE_MAX (_SC_BC_BASE_MAX)
Maximum ibase (input number radix) and obase (output number radix)
allowed by bc (see bc(1)).
BC_DIM_MAX (_SC_BC_DIM_MAX)
Maximum number of elements in an array permitted by bc (see bc(1)).
BC_SCALE_MAX (_SC_BC_SCALE_MAX)
Maximum scale factor (number of digits to the right of the decimal point)
allowed by bc (see bc(1)).
BC_STRING_MAX (_SC_BC_STRING_MAX)
476 Hewlett-Packard Company − 1 − HP-UX 11i Version 3: February 2007