COHERENT manpages

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

List of available manpages
Index


execv() -- General Function (libc)

Execute a load module
#include <unistd.h>
execv(file, argv)
char *file, *argv[];

The function  execv() calls the COHERENT system call  execve() to execute a
program.   It specifies  arguments as  a  single, NULL-terminated  array of
parameters,  called argv.  execv() passes  the  environment of  the calling
program to the called  program.  For more information on program execution,
see execution.

See Also

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

Diagnostics

execv() 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.