Schily's LIBRARY FUNCTIONS SPAWNV(3)
spawnv() - calls a command with specified arguments
FILE *Sin, *Sout, *Serr;
spawnv() causes the command, named in ArgV, to be called
with the given arguments. Functionally this subroutine is
the same as spawnl(), differing only in the form of the
Returns 0 when successful. Otherwise, returns a non-zero
value which could be:
an error code from fork() or fexecl(). the argument to
exit() in the Command_name.
1, if stopped by a control C (^C).
2, if killed by another process.
4, if suspended by any fault, raise, control Y ^Y or by
another process. (In this case, spawnv() kills the
Joerg Schilling Last change: 15. Juli 1988 1
Man(1) output converted with