qc.hlp (Table of Contents; Topic list)
spawnv... Functions
 Description Example                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   <process.h>, <stdio.h>, <errno.h>
 
  Syntax:    int spawnv( int mode, char *cmdname, char **argv );
 
             int spawnve( int mode, char *cmdname, char **argv,
                          char **envp );
 
             int spawnvp( int mode, char *cmdname, char **argv );
 
             int spawnvpe( int mode, char *cmdname, char **argv,
                           char **envp );
 
             mode: P_DETACH, P_NOWAIT, P_NOWAITO, P_OVERLAY, P_WAIT
 
  Returns:   the child process's exit status (mode = P_WAIT) or the
             process ID (mode = P_NOWAIT) if successful, or -1 if not.
             errno: E2BIG, EINVAL, ENOENT, ENOEXEC, ENOMEM
 
  See also:  abort, atexit, execl..., execv..., exit, _exit, onexit,
             spawnl..., system
                                    -♦-