fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / include / process.h
bloba73564a33d52c8bf7ae53b43217a7fb28d091359
1 /* process.h. This file comes with MSDOS and WIN32 systems. */
3 #ifndef __PROCESS_H_
4 #define __PROCESS_H_
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
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, const 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 int cwait(int *, int, int);
32 #define _P_WAIT 1
33 #define _P_NOWAIT 2 /* always generates error */
34 #define _P_OVERLAY 3
35 #define _P_NOWAITO 4
36 #define _P_DETACH 5
38 #define WAIT_CHILD 1
40 #ifdef __cplusplus
42 #endif
44 #endif