execl(2)
_________________________________________________________________
execl System Call
Execute a program file.
_________________________________________________________________
SYNTAX
None.
int execl (path, arg0, arg1, argn, zero)
char * path;
char * arg0;
char * arg1;
char * argn;
char * zero;
PARAMETERS
path The pathname of the program file to be executed.
arg<x> Each of the arguments arg0, arg1, ..., argn is a
pointer to a null-terminated byte string that is
to be the x'th argument passed to the new program.
zero The explicit argument list arg0, arg1, ..., argn
is terminated by a zero-valued argument.
DESCRIPTION
Execl is the variant of execve in which each argument for the new
program is explicitly listed as an argument. The environment
pointer is not given as an argument.
For further details, see execve.
ACCESS CONTROL
See execve.
RETURN VALUE
See execve.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)
execl(2)
EXCEPTIONS
See execve.
SEE ALSO
The related system calls: execve.
DG/UX 4.00 Page 2
Licensed material--property of copyright holder(s)