HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man5/!!!intro.5
________________________________________________________________
___ ___
l
limits(5) limits(5)
Number of bits in a longLONG_BIT 32 +
Max decimal value of a longLONG_MAX 2147483647 +
Min decimal value of a longLONG_MIN -2147483648 -
Max number of bytes in terminal canonical input
line
MAX_CANON 512 +*
Max number of bytes in terminal input queueMAX_CHAR MAX_INPUT =*
Max number of bytes in terminal input queueMAX_INPUT 512 +*
Max number of bytes in a path name componentNAME_MAX 14 +*
Max value of "digits" in calls to the NLS printf(3S)
and scanf(3S) functions
NL_ARGMAX 9=
Max message number in an NLS message catalogNL_MSGMAX 32767 +
Max set number in an NLS message catalogNL_SETMAX 255 +
Max number of bytes in an NLS message stringNL_TEXTMAX 8192 +
Max number of supplementary groups per processNGROUPS_MAX 20 +
Max number of files a process can have openOPEN_MAX 60 +*
Max number of chars in a password
PASS_MAX 8+
Max number of characters in a path name exclud-
ing the null terminator
PATH_MAX 1023
+*
Max value for a process
IDPID_MAX 30000 +
Max number of bytes atomic in write to a pipePIPE_BUF 8192 +*
Max number of bytes writable to a pipe in one
write
PIPE_MAX INT_MAX +
Max number of simultaneous processes on systemPROC_MAX 84 +-*
Max integer value of a signed char
SCHAR_MAX 127 =
Min integer value of a signed charSCHAR_MIN -128 =
Max decimal value of a shortSHRT_MAX 32767 +
Min decimal value of a shortSHRT_MIN -32768 -
Number of bytes in a physicalI/O blockSTD_BLK 512 +
Max process ID of system processesSYSPID_MAX 4+-*
Length of strings returned by uname(2)
SYS_NMLN 8+*
Max number of files open on systemSYS_OPEN 120 +-*
Max number of unique names generated by
tmpnam(3S)
TMP_MAX 17576 +
Max integer value of an unsigned charUCHAR_MAX 255 =
Smallest unattainablevalue for a user or group IDUID_MAX 2147483647 +
Max decimal value of an unsigned intUINT_MAX 4294967295 +
Max decimal value of an unsigned longULONG_MAX 4294967295 +
Max decimal value of an unsigned shortUSHRT_MAX 65535 +
Max decimal value of an unsigned intUSI_MAX UINT_MAX =*
Number of bits in a "word" (int)WORD_BIT 32
+
EXAMPLES
UID_MAX has an HP-UX value of 2147483647 + , which means that on all HP-UX systems the smallest unat-
tainable value for a user or group
ID is at least 2147483647. A particular system might be capable of sup-
porting more than 2147483647user or group IDs, in which case its <limits.h> file sets UID_MAX to a higher
value; however, any application assuming such a higher value is not guaranteed to be portable to all HP-UX
systems.
AUTHOR
limits was developed by HP.
SEE ALSO
exec(2), fcntl(2), fork(2), getgroups(2), link(2), lockf(2), open(2), pathconf(2), sysconf(2), uname(2), write(2),
printf(3S), scanf(3S), tmpnam(3S), passwd(4), values(5), termio(7).
HP-UX Release 11i: December 2000 − 2 − Section 5−−83
___
___