-

Changes

Jump to: navigation, search

Functions HI-TECH C SPAWNL

775 bytes added, 23:41, 31 July 2017
Created page with "<strong>SPAWNL, SPAWNV, SPAWNVE</strong> ==SYNOPSIS== int spawnl(char * n, char * argv0, ...); int spawnv(cahr * n, char ** v) int spawnve(char * n, char ** v, char ** e)..."
<strong>SPAWNL, SPAWNV, SPAWNVE</strong>
==SYNOPSIS==

int spawnl(char * n, char * argv0, ...);
int spawnv(cahr * n, char ** v)
int spawnve(char * n, char ** v, char ** e)


==DESCRIPTION==
These functions will load and execute a sub-program,
named by the argument n. The calling conventions are
similar to the functions <strong>execl</strong>() and <strong>execv</strong>(), the
difference being that the spawn functions return to the
calling program after termination of the sub-program,
while the exec functions return only if the program
could not be executed. <strong>Spawnve</strong>() takes an environment
list in the same format as the argument list which will
be supplied to the executed program as its environment.

==SEE ALSO==

execl, execv

Navigation menu