HP-UX Reference (11i v1 00/12) - 2 System Calls (vol 5)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man2/!!!intro.2
________________________________________________________________
___ ___
s
sysconf(2) sysconf(2)
Equal to 1 if the X/Open Enhanced Interna-
tionalization Feature Group is supported; 1
otherwise
XOPEN_ENH_I18N _SC_XOPEN_ENH_I18N
Equal to 1 if the X/Open Shared Memory
Feature Group is supported; 1otherwise
XOPEN_SHM _SC_XOPEN_SHM
Issue number of X/Open Portability Guide
supported
XOPEN_VERSION _SC_XOPEN_VERSION
XBS5_ILP32_
OFF32
_SC_XBS5_ILP32_
OFF32
A flag which denotes whether
_CS_XBS5_ILP32_OFF32_CFLAGS,
_CS_XBS5_ILP32_OFF32_LDFLAGS,
_CS_XBS5_ILP32_OFF32_LIBS and
_CS_XBS5_ILP32_OFF32_LINTFLAGS
are supported by confstr(3C). A return
value of -1 indicates they are not supported.
XBS5_ILP32_
OFFBIG
_SC_XBS5_ILP32_
OFFBIG
A flag which denotes whether
_CS_XBS5_ILP32_OFFBIG_CFLAGS
,
_CS_XBS5_ILP32_OFFBIG_LDFLAGS
,
_CS_XBS5_ILP32_OFFBIG_LIBS
and
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS
are supported by confstr(3C). A return
value of -1 indicates they are not supported.
XBS5_LP64_
OFF64
_SC_XBS5_LP64_
OFF64
A flag which denotes whether
_CS_XBS5_LP64_OFF64_CFLAGS
,
_CS_XBS5_LP64_OFF64_LDFLAGS
,
_CS_XBS5_LP64_OFF64_LIBS
and
_CS_XBS5_LP64_OFF64_LINTFLAGS
are supported by confstr(3C). A return
value of -1 indicates they are not supported.
XBS5_LPBIG_
OFFBIG
_SC_XBS5_LPBIG_
OFFBIG
A flag which denotes whether
_CS_XBS5_LPBIG_OFFBIG_CFLAGS
,
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS
,
_CS_XBS5_LPBIG_OFFBIG_LIBS
and
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS
are supported by confstr(3C). A return
value of -1 indicates they are not supported.
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> .
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
The
CPU_IS_PA_RISC()
function classifies cpuvers, a value of the CPU_VERSION variable, as to its
processor family.
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 are shown in the
following table.
Section 2400 5 HP-UX Release 11i: December 2000
___
___