Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
Files limits(4)
USHRT_MAX
Maximum value for an object of type unsigned short int.
WORD_BIT Number of bits in a word of type int.
POSIX-Defined Runtime Invariant Values (Possibly Indeterminate)
The symbolic constants in the following list are defined in the limits.h header file if the applica-
tion has been compiled using the _PUT_MODEL_ feature test macro or equivalent compiler
command option. These symbolic names represent the maximum value for certain features. The
indetermination of these values might depend on the amount of available memory space on a
specific instance of a specific implementation. The actual value supported by a specific instance
is provided by the sysconf() function.
These constants are supported for systems running H06.21 or later H-series RVUs or J06.10 or
later J-series RVUs only.
PTHREAD_DESTRUCTOR_ITERATIONS
Maximum number of attempts made to destroy a thread’s thread-specific data
values on thread exit.
PTHREAD_KEYS_MAX
Maximum number of data keys that can be created by a process.
PTHREAD_STACK_MIN
Maximum size in bytes of thread stack storage.
PTHREAD_THREADS_MAX
Maximum number of threads that can be created per process.
POSIX-Defined Minimum Values
The symbolic constants in the following list are defined in the limits.h header file with values
specified by the POSIX.1, POSIX.2, POSIX.12 draft, or IEEE Std 1003.1-2004 standards. These
symbolic names represent the most restrictive value for certain features. A portable application
must not require a larger value for correct operation. The HP implementation defines some of the
related symbolic constants to be less restrictive.
These values are the same in all POSIX-compliant implementations.
_POSIX_ARG_MAX
Maximum length in bytes of argument data to a function in the exec and
tdm_exec sets of functions, including environment data.
_POSIX_CHILD_MAX
Maximum number of simultaneous processes per real user ID.
_POSIX_FD_SETSIZE
Maximum number of file descriptors that the process can use with the select()
function.
_POSIX_HIWAT
Maximum number of bytes that a process can buffer on a socket for a send or
receive action.
_POSIX_LINK_MAX
Maximum number of links to a single file.
527186-023 Hewlett-Packard Company 11−13