Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
execl... Functions
◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Include: <process.h>, <errno.h>
Syntax: int execl( char *cmdname, char *arg0, ...
char *argn, NULL );
int execle( char *cmdname, char *arg0, ...
char *argn, NULL, char **envp );
int execlp( char *cmdname, char *arg0, ...
char *argn, NULL );
int execlpe( char *cmdname, char *arg0, ...
char *argn, NULL, char **envp );
Returns: -1 if unsuccessful.
errno: E2BIG, EACCES, EMFILE, ENOENT, ENOEXEC, ENOMEM
See also: abort, atexit, execv..., exit, _exit, onexit,
spawnl..., spawnv..., system
-♦-