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)
file (see localedef(1M))
Processor Extensions (see below)CPU_KEYBITS1 _SC_CPU_KEYBITS1
Version of CPU architecture (see below)CPU_VERSION _SC_CPU_VERSION
Maximum parenthesis nesting level for
expr expressions (see expr(1))
EXPR_NEST_MAX _SC_EXPR_NEST_MAX
Returns which kernel is supported on the
hardware. The value returned is an encod-
ing which may be interpreted using the
_SYSTEM_SUPPORTS_ILP32OS() and
_SYSTEM_SUPPORTS_LP64OS() macros
defined in unistd.h. Example:
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 supports,
currently, only the value IO_TYPE_CDIO
IO_TYPE _SC_IO_TYPE
Returns the number of bits used by the ker-
nel for pointer and long data types. Current
values include 32 and 64.
KERNEL_BITS _SC_KERNEL_BITS
The version of libc that is in use by the
application that is requesting this informa-
tion. See below for details.
LIBC_VERSION _SC_LIBC_VERSION
Maximum number of bytes in an input line
(including the newline) for POSIX.2 utilities
LINE_MAX _SC_LINE_MAX
Maximum number of simultaneous supple-
mentary group IDs per process
NGROUPS_MAX _SC_NGROUPS_MAX
Maximum number of files that one process
can have open at one time
OPEN_MAX _SC_OPEN_MAX
Kernel memory page sizePAGE_SIZE _SC_PAGE_SIZE
Maximum number of significant bytes in a
password
PASS_MAX _SC_PASS_MAX
Positive if the File Synchronization option is
supported (see fsync(2))
POSIX_FSYNC _SC_FSYNC
Positive if the system supports POSIX job
control; 1otherwise
POSIX_JOB_CONTROL _SC_JOB_CONTROL
POSIX_PRIORITY_
SCHEDULING
_SC_PRIORITY_
SCHEDULING
Positive if the system supports POSIX.4
priority scheduling; 1otherwise
Positive if the system supports POSIX.4
realtime signal extensions; 1otherwise
POSIX_REALTIME_SIGNALS _SC_REALTIME_SIGNALS
HP-UX Release 11i: December 2000 2 Section 2397
___
___