C Language and Libraries Help (clang.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_spawnl... Functions
◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
─────Run-Time Library───────────────────────────────────────────────────────
Include: <process.h>, <stdio.h>, <errno.h>
Syntax: int _spawnl( int mode, char *cmdname, char *arg0,
char *arg1,...char *argn, NULL );
int _spawnle( int mode, char *cmdname, char *arg0,
char *arg1,...char *argn, NULL, char **envp );
int _spawnlp( int mode, char *cmdname, char *arg0,
char *arg1,...char *argn, NULL );
int _spawnlpe( int mode, char *cmdname, char *arg0,
char *arg1,...char *argn, NULL, char **envp );
mode: _P_OVERLAY, _P_WAIT
Returns: the child process's exit status (mode = _P_WAIT) if
successful, or -1 if not.
errno: E2BIG, EINVAL, ENOENT, ENOEXEC, ENOMEM
See also: _spawnv..., _exec..., system
-♦-