COHERENT manpages

This page displays the COHERENT manpage for execl() [Execute a load module].

List of available manpages
Index


execl() -- General Function (libc) (libc)

Execute a load module
#include <unistd.h>
execl(file, arg0, arg1, ..., argn, NULL)
char *file, *arg0, *arg1, ..., *argn;

The function  execl() calls the COHERENT system call  execve() to execute a
program.  It specifies arguments individually, as a NULL-terminated list of
arg parameters.  For more information on file execution, see execution.

See Also

execution,
execve(),
getuid(),
libc,
unistd.h
POSIX Standard, §3.1.2

Diagnostics

execl() does not  return if successful.  It returns -1  for errors, such as
file being  nonexistent, not accessible  with execute permission,  having a
bad format, or too large to fit in memory.