Installation guide
The following definitions are not available and will have an impact on your
ability to port source code:
• TIOCCAR
• TIOCNAR
• TIOCWONLINE
DIGITAL UNIX systems use POSIX library routines to provide greater
application portability. See Appendix D for examples of ULTRIX and
DIGITAL UNIX modem control applications.
B.9 Changes in the langinfo.h File
The langinfo.h header file defines constants that you use to get
internationalization information with the nl_langinfo routine. Two of the
constants that you could use as arguments to the ULTRIX nl_langinfo
routine are not defined in the DIGITAL UNIX langinfo.h file. The
EXPL_STR constant, which on the ULTRIX system returns a lowercase
letter that you can use for an exponent character, is not defined on
DIGITAL UNIX systems. The EXPU_STR constant, which on ULTRIX
returns an uppercase character that you can use for an exponent character,
is also not defined on DIGITAL UNIX systems.
The ic compiler ignores these constants if you use them.
B.10 Changes in the limits.h File
On DIGITAL UNIX systems, the limits.h file defines certain system
limits, such as the maximum number of bytes that you can use to specify a
pathname or the maximum message set number that you can use in an
internationalization message catalog. Some limits have changed between
ULTRIX and DIGITAL UNIX systems. Table B–1 describes the differences.
Table B–1: Differences in System Limits
Macro Name Description ULTRIX Limit DIGITAL UNIX Limit
LONG_BIT Maximum number of bits in
a type
32 64
LONG_MAX Maximum value of a long
type
2,147,483,647 9,223,372,036,854,775,807
LONG_MIN Minimum value of a long
type
−2,147,483,648 −
9,223,372,036,854,775,808
MB_LEN_MAX Maximum number of bytes
in a multibyte character
12
B–4 Differences in ULTRIX and DIGITAL UNIX Header Files and Library Routines