GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SPAWNV(3) Schily´s LIBRARY FUNCTIONS SPAWNV(3)

spawnv() - calls a command with specified arguments

int spawnv(Sin,Sout,Serr,ArgC,ArgV)
FILE *Sin, *Sout, *Serr;
int ArgC;
char *ArgV[];

spawnv() causes the command, named in ArgV[0], to be called with the given arguments. Functionally this subroutine is the same as spawnl(), differing only in the form of the argument.

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 suspended process.)

none
15. Juli 1988 Joerg Schilling

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.