Digital UNIX Diffs - vfork(5) Digital UNIX Diffs - vfork(5)NAMEvfork - Creates a new process
SYNOPSIS
#include <sys/types.h> pid_t vfork ( void );
DIFFERENCESvms-process(5): OpenVMS Process Model Differences
vfork used with an exec(2) function on OpenVMS simulates vfork(2) or
fork(2) used with an exec(2) function on Digital UNIX. The pair of
functions create and initialize a new process. However, there are 2
major differences. First vfork does not create a new process on Open‐
VMS as it does on UNIX. It sets up the environment so that an exec
function can create the new process. Second, whereas the process cre‐
ated by the UNIX fork is identical to its parent, on OpenVMS the newly
created process only shares some of its parent characteristics. Char‐
acteristics passed to the child on OpenVMS include: parent's umask,
open filenames and positions, SIG_IGN signal actions (not SIG_DFL),
environment variables, and argument vectors. The list of inherited
attributes on UNIX are listed in fork(2).
RELATED INFORMATION
Functions: vfork(2), exec(2)CATEGORY INDEXvms-process(5)
delim off
Digital UNIX Diffs - vfork(5)