HP-UX Reference (11i v2 03/08) - 2 System Calls (vol 5)

s
sysconf(2) sysconf(2)
Returns the number of bits used by the
kernel 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
information. 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
message queues;
MESSAGE_PASSING _SC_MESSAGE_PASSING
Maximum number of per-process open
message 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
supplementary group IDs per process
NGROUPS_MAX _SC_NGROUPS_MAX
Maximum number of files that one pro-
cess 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
POSIX_
ASYNCHRONOUS_IO
Positive if the system supports POSIX
Asynchronous 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
Prioritized Input and Output
_SC_MESSAGE_PASSING
HP-UX 11i Version 2: August 2003 3 Hewlett-Packard Company Section 2423