HP-UX Reference (11i v2 03/08) - 2 System Calls (vol 5)
s
sysconf(2) sysconf(2)
Positive if the implementation supports
POSIX threads; -1 otherwise.
POSIX_THREADS _SC_THREADS
POSIX_TTY_
NAME_MAX
Maximum length of a terminal device
name
_SC_TTY_NAME_MAX
Equal to 1 if the POSIX.2 C Language
Bindings Option is available through
the c89 utility; −1 otherwise
POSIX2_C_BIND _SC_2_C_BIND
Equal to 1 if the POSIX.2 C Language
Development Utilities Option is sup-
ported; −1 otherwise
POSIX2_C_DEV _SC_2_C_DEV
Current version of the POSIX.2 C
Language Binding Option supported
(same format as _POSIX_VERSION
);
−1 otherwise.
POSIX2_C_VERSION _SC_2_C_VERSION
Equal to 1 if the POSIX.2 FORTRAN
Development Utilities Option is sup-
ported; −1 otherwise
POSIX2_FORT_DEV _SC_2_FORT_DEV
Equal to 1 if the POSIX.2 Fortran
Runtime Utilities Option is supported;
−1 otherwise
POSIX2_FORT_RUN _SC_2_FORT_RUN
Equal to 1 if locales can be created
with the POSIX.2 localedef utility; −1
otherwise
POSIX2_LOCALEDEF _SC_2_LOCALEDEF
Equal to 1 if the POSIX.2 Software
Development Utilities Option is sup-
ported; −1 otherwise
POSIX2_SW_DEV _SC_2_SW_DEV
Equal to 1 if the POSIX.2 User Porta-
bility Utilities Option is supported; −1
otherwise
POSIX2_UPE _SC_2_UPE
Current version of POSIX.2 (same for-
mat as _POSIX_VERSION
)
POSIX2_VERSION _SC_2_VERSION
PRIORITIZED_IO _SC_PRIORITIZED_IO Not supported
PROCESSOR_SET _SC_PSET_SUPPORT Positive if the implementation supports
the Processor Set Functions;
-1 other-
wise.
PTHREAD_
DESTRUCTOR_
ITERATIONS
_SC_THREAD_
DESTRUCTOR_
ITERATIONS
The number of attempts made to des-
troy a pthread’s thread-specific data
values on thread exit.
_SC_THREAD_
KEYS_MAX
The number of pthread data keys per
process.
PTHREAD_KEYS_MAX
PTHREAD_STACK_
MIN
_SC_THREAD_
STACK_MIN
Minimum size in bytes of pthread
stack storage.
PTHREAD_THREADS_
MAX
_SC_THREAD_
THREADS_MAX
Maximum number of pthreads that can
be created per process.
Equal to
1 if the optional HP Process
Resource Management (PRM) software
is installed and configured; 0 otherwise
(see prmconfig(1))
PROC_RSRC_MGR _SC_PROC_RSRC_MGR
HP-UX 11i Version 2: August 2003 − 5 − Hewlett-Packard Company Section 2−−425