HP-UX Reference (11i v2 07/12) - 2 System Calls (vol 5)
s
sysconf(2) sysconf(2)
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
LOGIN_NAME_MAX _SC_LOGIN_NAME_MAX Value of LOGIN_NAME_MAX
MAPPED_FILES _SC_MAPPED_FILES Not supported
Positive if the system supports POSIX
memory locking mlockall, munlockall.
MEMLOCK _SC_MEMLOCK
Positive if the system supports POSIX
memory range locking.
MEMLOCK_RANGE _SC_MEMLOCK_RANGE
MEMORY_
PROTECTION
_SC_MEMORY_PROTECTION Not supported
Positive if the system supports POSIX mes-
sage queues.
MESSAGE_PASSING _SC_MESSAGE_PASSING
Maximum number of per-process open mes-
sage queue descriptors.
MQ_OPEN_MAX _SC_MQ_OPEN_MAX
Maximum limit for message priority.MQ_PRIO_MAX _SC_MQ_PRIO_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 size.PAGE_SIZE _SC_PAGE_SIZE
Maximum number of significant bytes in a
password.
PASS_MAX _SC_PASS_MAX
POSIX_
ASYNCHRONOUS_IO
Positive if the system supports POSIX Asyn-
chronous Input and Output.
_SC_ASYNCHRONOUS_IO
Positive if the File Synchronization option is
supported (see fsync(2)).
POSIX_FSYNC _SC_FSYNC
POSIX_JOB_
CONTROL
Positive if the system supports POSIX job
control;
-1 otherwise.
_SC_JOB_CONTROL
POSIX_MAPPED_
FILES
Positive if the system supports POSIX
memory locking mlockall, munlockall.
_SC_MAPPED_FILES
Positive if the system supports POSIX
memory mapped files.
POSIX_MEMLOCK _SC_MEMLOCK
POSIX_MEMLOCK_
RANGE
Positive if the system supports POSIX
memory range locking.
_SC_MEMLOCK_RANGE
POSIX_MEMORY_
PROTECTION
Positive if the system supports POSIX
memory protection.
_SC_MEMORY_PROTECTION
POSIX_MESSAGE_
PASSING
Positive if the system supports POSIX Prior-
itized Input and Output.
_SC_MESSAGE_PASSING
466 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: December 2007 Update