execl family of functions


execl execlp execle exect execv execvp all performa a simular function by starting another program. This new program overlays the existing program, so you can never return to the to original code unless the call to execl fails.


	Library:   unistd.h

	Prototype: int execl(char *Path, char *arg, (char *)0);

	Syntax:    execl("newprog", "newprog", NULL);


Examples:

example program issuing the execl.

The program started by the example above


See Also:

fork function.


Top Master Index Keywords Functions


Martin Leslie