COHERENT manpages
This page displays the COHERENT manpage for execvpe() [Execute a load module].
List of available manpages
Index
execvpe() -- General Function (libc) Execute a load module execvp(file, argv, env) char *file, *argv[], *env[]; The function execvpe() calls the COHERENT system call execve() to execute a program. It specifies arguments as a single, NULL-terminated array of parameters, called argv. The argument env is the address of an array of pointers to strings that define file's environment. This allows execvpe() to pass a new environment to the program being executed. Unlike the related call execv(), execvpe() searches for file in all of the directories named in the environmental variable PATH-- that is, the current PATH, not the one contained within the environmented pointed to by env. For more information on program execution, see execution. See Also environ, execution, execv(), execve(), libc Diagnostics execvp() 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. execvpe() is not part of the SVID specification. Therefore, it may not be present on non-COHERENT operating systems.