HP-UX Reference (11i v2 03/08) - 2 System Calls (vol 5)
s
sysconf(2) sysconf(2)
Number of clock intervals per second
for times() (see times (2))
CLK_TCK _SC_CLK_TCK
Number of clock ticks per second for
clock() (see clock (3C))
CLOCKS_PER_SEC _SC_CLOCKS_PER_SEC
COLL_WEIGHTS_
MAX
_SC_COLL_
WEIGHTS_MAX
Maximum number of weights that can
be assigned to an entry of the
LC_COLLATE order keyword in a
localedef input file (see
localedef (1M))
Itanium(R)-based systems: CPUID
Register 3 of the Itanium-based proces-
sor identification registers. See the
Itanium-based architecture definition
for this platform for the meaning of
each bit.
CPU_CHIP_TYPE _SC_CPU_CHIP_TYPE
Itanium-based systems: CPUID Regis-
ter 4 of the Itanium-based processor
identification registers. See the
Itanium-based architecture definition
for this platform for the meaning of
each bit. PA: Processor Extensions
(see below)
CPU_KEYBITS1 _SC_CPU_KEYBITS1
Version of CPU architecture (see
below)
CPU_VERSION _SC_CPU_VERSION
DELAYTIMER_MAX _SC_DELAYTIMER_MAX Maximum timer overrun count
Maximum parenthesis nesting level for
expr expressions (see expr (1))
EXPR_NEST_MAX _SC_EXPR_NEST_MAX
Maximum getgrgid_r(), getgrnam_r()
data buffer size
GETGR_R_SIZE_MAX _SC_GETGR_R_SIZE_MAX
Maximum getpwuid_r(), getpwnam_r()
data buffer size
GETPW_R_SIZE_MAX _SC_GETPW_R_SIZE_MAX
Returns which kernel is supported on
the hardware. The value returned is
an encoding which may be interpreted
using the
_SYSTEM_SUPPORTS_ILP32OS()
and
_SYSTEM_SUPPORTS_LP64OS()
macros defined in unistd.h. Exam-
ple:
long ret = sysconf(_SC_HW_32_64_CAPABLE);
if (_SYSTEM_SUPPORTS_ILP32OS(ret) != 0) {
/*system supports 32-bit OS*/
}
if (_SYSTEM_SUPPORTS_LP64OS(ret) != 0) {
/*system supports 64-bit OS*/
}
HW_32_64_CAPABLE _SC_HW_32_64_CAPABLE
Type of I/O drivers the kernel sup-
ports, currently, only the value
IO_TYPE_CDIO
IO_TYPE _SC_IO_TYPE
Section 2−−422 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: August 2003