1 /* process.h. This file comes with MSDOS and WIN32 systems. */
10 int execl(const char *path
, const char *argv0
, ...);
11 int execle(const char *path
, const char *argv0
, ... /*, char * const *envp */);
12 int execlp(const char *path
, const char *argv0
, ...);
13 int execlpe(const char *path
, const char *argv0
, ... /*, char * const *envp */);
15 int execv(const char *path
, char * const *argv
);
16 int execve(const char *path
, char * const *argv
, char * const *envp
);
17 int execvp(const char *path
, char * const *argv
);
18 int execvpe(const char *path
, char * const *argv
, char * const *envp
);
20 int spawnl(int mode
, const char *path
, const char *argv0
, ...);
21 int spawnle(int mode
, const char *path
, const char *argv0
, ... /*, char * const *envp */);
22 int spawnlp(int mode
, const char *path
, const char *argv0
, ...);
23 int spawnlpe(int mode
, const char *path
, const char *argv0
, ... /*, char * const *envp */);
25 int spawnv(int mode
, const char *path
, const char * const *argv
);
26 int spawnve(int mode
, const char *path
, char * const *argv
, const char * const *envp
);
27 int spawnvp(int mode
, const char *path
, const char * const *argv
);
28 int spawnvpe(int mode
, const char *path
, const char * const *argv
, const char * const *envp
);
30 #if defined (__CYGWIN__) || defined (__MSYS__)
31 /* Secure exec() functions family */
32 /* The first arg should really be a HANDLE which is a void *. But we
33 can't include windows.h here so... */
34 #include <sys/types.h>
35 pid_t
sexecl(void *, const char *path
, const char *argv0
, ...);
36 pid_t
sexecle(void *, const char *path
, const char *argv0
, ... /*, char * const *envp */);
37 pid_t
sexeclp(void *, const char *path
, const char *argv0
, ...);
38 pid_t
sexeclpe(void *, const char *path
, const char *argv0
, ... /*, char * const *envp */);
40 pid_t
sexecv(void *, const char *path
, const char * const *argv
);
41 pid_t
sexecve(void *, const char *path
, const char * const *argv
, const char * const *envp
);
42 pid_t
sexecvp(void *, const char *path
, const char * const *argv
);
43 pid_t
sexecvpe(void *, const char *path
, const char * const *argv
, const char * const *envp
);
46 int cwait(int *, int, int);
49 #define _P_NOWAIT 2 /* always generates error */