Modula-2 ||
Compiler & Tools ||
Library ||
Search Engine
Ulm's Modula-2 Library:
SysExec
NAME
SysExec - replace execution image
SYNOPSIS
PROCEDURE Exec(name: ARRAY OF CHAR; argv: ADDRESS);
PROCEDURE Exece(name: ARRAY OF CHAR; argv, envp: ADDRESS);
DESCRIPTION
Exec
 and
Exece
 replace the current image of the process by that of the
executable file specified by name.
On success, these calls will not return.
The argument vector argv is a pointer to a
null-terminated (not necessarily NIL-terminated!)
list of pointers which point to the argument strings.
Exec
 passes the inherited environment parameters
(see Environment)
while
Exece
 takes envp instead.
DIAGNOSTICS
On failure, these procedures return and Errno.errno is set.
SEE ALSO
exec(2), SysFork, 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