sysconf.2 (2010 09)

s
sysconf(2) sysconf(2)
Maximum length of strings allowed by bc
(see bc(1)).
CCNUMA_SUPPORT
(_SC_CCNUMA_SUPPORT
)
Positive if the implementation supports multiple locality domains;
-1
otherwise (see mpctl (2)).
CHILD_MAX (_SC_CHILD_MAX
)
Maximum number of simultaneous processes per user ID (see fork (2)).
CLK_TCK (_SC_CLK_TCK)
Number of clock intervals per second for
times()
(see times (2)).
CLOCKS_PER_SEC
(_SC_CLOCKS_PER_SEC
)
Number of clock ticks per second for
clock()
(see clock (3C)).
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)).
CPU_CHIP_TYPE (_SC_CPU_CHIP_TYPE
)
Itanium-based systems: CPUID Register 3 of the Itanium-based pro-
cessor identification registers. See the Itanium-based architecture
definition for this platform for the meaning of each bit.
CPU_KEYBITS1 (_SC_CPU_KEYBITS1
)
Itanium-based systems: CPUID Register 4 of the Itanium-based proces-
sor identification registers. See the Itanium-based architecture
definition for this platform for the meaning of each bit.
PA-RISC: Processor Extensions. The availability of architecture specific
instructions is indicated by the key bit data returned by
sysconf(_SC_CPU_KEYBITS1)
. Upon successful completion, the
data returned will be the logical OR of the defined values for the features
supported.
The possible values returned by
sysconf(_SC_CPU_KEYBITS1)
and
their meanings for PA-RISC platforms are shown in the following table.
Return Value Instruction Supported
HARITH Halfword parallel add, subtract, and average
HSHIFT Halfword parallel shift-and-add
CPU_VERSION (_SC_CPU_VERSION)
Version of CPU architecture.
The possible values of the
CPU_VERSION variable returned by
sysconf(_SC_CPU_VERSION) and their meanings are:
Value Meaning
CPU_PA_RISC1_0 HP Precision Architecture RISC Version 1.0
CPU_PA_RISC1_1 HP Precision Architecture RISC Version 1.1
CPU_PA_RISC2_0 HP Precision Architecture RISC Version 2.0
CPU_IA64_ARCHREV_0 HP Itanium-based Architecture Version 0
The
CPU_IS_PA_RISC() function classifies cpuvers , a value of the
CPU_VERSION variable, as to its processor family.
DELAYTIMER_MAX (_SC_DELAYTIMER_MAX)
Maximum timer overrun count.
EXPR_NEST_MAX (_SC_EXPR_NEST_MAX)
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010