Modula-2 ||
Compiler & Tools ||
Library ||
Search Engine
Ulm's Modula-2 Library:
SysFork
NAME
SysFork - create a new process
SYNOPSIS
PROCEDURE Fork(VAR pid: CARDINAL) : BOOLEAN;
DESCRIPTION
Fork
spawns off a new process which inherits many properties
from the parent process (see fork(2) for a detailed
description).
On success,
Fork returns TRUE in both processes,
and pid is set to 0 in the child process
and set to the process id of the child in the parent process.
DIAGNOSTICS
On failure, FALSE is returned and Errno.errno is set.
SEE ALSO
fork(2), SysExec, SysWait
Edited by: borchert, last change: 1997/02/26, revision: 1.1, converted to HTML: 1997/04/28
Modula-2 ||
Compiler & Tools ||
Library ||
Search Engine