Installation guide

Table 7–8: Routines in the System V Compatibility Library (cont.)
Routine Name Compatibility
pid_t setpgrp(void)
If this call is successful, it returns the new process
identification (PID).
void (*signal(int, int(*func()) ))
The specified signal is not blocked from delivery
when the handler is entered, and the disposition of
the signal reverts to SIG_DFL when the signal is
delivered.
int unlink(const char *)
An attempt to unlink nonempty directories will
cause the unlink call to fail and set errno to
ENOTEMPTY, even if the process has superuser
privileges.
int umount(char *)
Does not support the MNT_NOFORCE,
MNT_WAIT, MNT_FORCE, or MNT_NOWAIT
flags.
7.7 Porting Terminal-Dependent Applications
The DIGITAL UNIX system supports two versions of the termcap library
and two versions of the curses library. To use the default termcap library
(similar to the BSD 4.3 termcap library), use the ltermcap option in the
compilation line. To use the BSD 4.3-5 termcap curses functions (similar
to ULTRIX Version 4.2), use the D_BSD and lcurses options in the
compilation line. The ULTRIX system supports one version of the termcap
library and two versions of the curses library:
The X/Open curses functions, which are part of the cursesX library
The BSD 4.2 curses functions, which are part of the curses library
Table 7–9 helps to clarify how to port ULTRIX specific applications to the
DIGITAL UNIX system.
Table 7–9: Terminal Capability Differences
If You Use this
ULTRIX Option
Use this DIGITAL
UNIX Option
Library Used by C Compiler
ltermcap or
ltermlib
-D_BSD ltermcap or
-D_BSDltermlib
BSD 4.2 termcap library (IBM
AIX library on a DIGITAL UNIX
system; similar to BSD 4.3 library)
-D_BSD -lcurses
ltermcap or
-lcurses ltermlib
D_BSD lcurses
-ltermlib
BSD 4.2 termcap and curses
libraries (BSD 4.3-5 curses and
termcap functions on a DIGITAL
UNIX system)
7–40 Migrating Your ULTRIX Application to a DIGITAL UNIX System