Installation guide
Table B–1: Differences in System Limits (cont.)
Macro Name Description ULTRIX Limit DIGITAL UNIX Limit
NL_LANGMAX Maximum length, in bytes,
of a string that can be stored
in the LANG environment
variable
32 14
NL_LBLMAX Maximum number of labels
that can be specified in an
internationalization message
catalog
32,767 Undefined
NL_MSGMAX Maximum number that can
be assigned to a message in
an internationalization
message catalog
32,767 65,535
NL_NMAX Maximum n-to-1 bytes in
mapping character
210
NL_SETMAX Maximum message set
number that can be used in
an internationalization
message catalog
255 65,535
NL_TEXTMAX Maximum number of bytes
that can be in a single
program message specified in
an internationalization
message catalog
2048 4096
ULONG_MAX Maximum value of an
unsigned long type
4,294,967,295 18,446,744,073,709,551,615
B.11 Changes in the math.h File
The math.h header file declares the functions in the math library, as well
as various functions in the C library that return floating-point values. The
DIGITAL UNIX math.h file omits the declaration of the atof routine. This
routine is declared in the stdlib.h file on the DIGITAL UNIX system.
If you use the atof routine on a DIGITAL UNIX system, be sure your
source file includes the stdlib.h file.
B.12 Changes in the resource.h File
The resource.h file defines a structure named rusage. This structure
has fewer fields on a DIGITAL UNIX system than it does on an ULTRIX
system. The definition on the ULTRIX system contains a field for the
integral shared text size. The DIGITAL UNIX definition omits this field.
You must modify your application if it depends upon the ULTRIX definition
of the rusage structure.
Differences in ULTRIX and DIGITAL UNIX Header Files and Library Routines B–5