Installation guide

Table 7–7: Routines in the ULTRIX BSD Compatibility Library (cont.)
Routine Name Compatibility
MINT * xtom(char *key)
char * mtox(MINT *key)
void mfree(MINT *a)
Provided for BSD compatibility for
performing arithmetic on integers of
arbitrary length.
int wait(union wait *)
Provides a wait call whose
status_location
parameter is of type
union wait *.
7.6.3 System V Compatibility Library
The DIGITAL UNIX system provides the libsys5.a library to allow you
to use library routines that are compatible with System V library routines.
Table 7–8 lists the routines in the library and describes the System V
compatibility they offer. This library contains routines for those libc
routines whose behavior is incompatible with POSIX or X/Open standards.
The ULTRIX system also provides a System V compatibility library,
libcV.a, which supplies a number of features similar to those that
libsys5.a provides. The most significant behavior of the routines in this
library is the compatibility with System V nonblocked signals.
For more information about the System V (SVID-2) features in DIGITAL
UNIX systems, see the System V Compatibility User’s Guide.
Table 7–8: Routines in the System V Compatibility Library
Routine Name Compatibility
int mknod(char *, int , int )
Supports passing of mode and dev as an int,
instead of mode_t and dev_t, respectively.
char * mktemp(char *)
Uses getpid() to generate a unique file name. Is
not thread safe.
int mount(char *, char *, int, char *, char
*, int)
Does not support specifying the type of file system,
mount flags, such as M_RDONLY and M_NOEXEC,
or mount data. Allows you to specify whether the
file system is a read-only or read/write system. Also
provides SVID-2 compatibility via the MS_DATA
flag.
int ptrace(int, int, int, int)
Supports passing of pid as an int type rather than
pid_t.
int rmdir(const char *)
Sets the value of the global variable errno to
EEXIST if the directory to be removed contains
entries other than dot (.) and double dot (..).
int setjmp(jmp_buf) void longjmp(jmp_buf,
int)
Do not save and restore the signal state.
Migrating Your ULTRIX Application to a DIGITAL UNIX System 7–39