Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
limits(4) OSS System Calls Reference Manual
MAX_INPUT Minimum number of bytes for which space is available in a terminal input
queue; therefore, the maximum number of bytes a portable application can
require to be entered as input before it reads them. Use the pathconf() function
to obtain this value at run time.
NAME_MAX Maximum number of bytes in a filename (excluding the terminating null). Use
the pathconf() function to obtain this value at run time.
NL_LANGMAX
Maximum number of bytes in a LANG name. Use the pathconf( ) function to
obtain this value at run time.
OPEN_MAX Maximum number of files that one process can have open at any one time. Use
the sysconf() function to obtain this value at run time.
SOCK_MAXBUF
Maximum number of bytes in a buffer to be used with a socket. Use the sys-
conf() function to obtain this value at run time.
STREAM_MAX
The number of streams that one process can have open at one time. Use the sys-
conf() function to obtain this value at run time.
Floating-Point Values
The values shown in the following table depend on whether the process is using HP floating-
point data (using the -WTandem_float C compiler flag or equivalent) or is using IEEE floating-
point data (using the -WIEEE_float C compiler flag or equivalent).
Table 11−6. Values for Floating-Point Constants
Symbolic Constant Tandem-Format Value IEEE-Format Value
___________________________________________________________________
DBL_DIG 16 15
DBL_MAX 1.15792089237316192e77 1.7976931348623157E+308
FLT_MAX 1.1579208e77F 3.40282347E+38F
RELATED INFORMATION
Functions: fpathconf(3), pathconf(3), sysconf(3).
Files: float(4).
STANDARDS CONFORMANCE
The HP implementation does not define ATEXIT_MAX, NZERO, PAGE_SIZE, PAGESIZE,
or PASS_MAX.
The POSIX standards leave some features to the implementing vendor to define. The following
features are affected in the HP implementation:
• The following symbolic constants are assigned values that define limits above the max-
imum or below the minimum required by the XPG4 Version 2, POSIX.1, POSIX.2, and
IEEE Std 1003.1-2004 standards:
The XPG4 version 2 specification indicates that the floating-point symbolic constants
DBL_DIG, DBL_MAX, and FLT_MAX are to be withdrawn from the specification.
11−16 Hewlett-Packard Company 527186-023