Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4680 | right-hear | 1 | /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
2 | #ifndef __dj_include_process_h_ |
||
3 | #define __dj_include_process_h_ |
||
4 | |||
5 | #ifdef __cplusplus |
||
6 | extern "C" { |
||
7 | #endif |
||
8 | |||
9 | #ifndef __dj_ENFORCE_ANSI_FREESTANDING |
||
10 | |||
11 | #ifndef __STRICT_ANSI__ |
||
12 | |||
13 | #ifndef _POSIX_SOURCE |
||
14 | |||
15 | int _dos_exec(const char *program, const char *args, char *const _envp[]); |
||
16 | |||
17 | int execl(const char *_path, const char *_argv0, ...); |
||
18 | int execle(const char *_path, const char *_argv0, ... /*, char *const _envp[] */); |
||
19 | int execlp(const char *_path, const char *_argv0, ...); |
||
20 | int execlpe(const char *_path, const char *_argv0, ... /*, char *const _envp[] */); |
||
21 | |||
22 | int execv(const char *_path, char *const _argv[]); |
||
23 | int execve(const char *_path, char *const _argv[], char *const _envp[]); |
||
24 | int execvp(const char *_path, char *const _argv[]); |
||
25 | int execvpe(const char *_path, char *const _argv[], char *const _envp[]); |
||
26 | |||
27 | int spawnl(int _mode, const char *_path, const char *_argv0, ...); |
||
28 | int spawnle(int _mode, const char *_path, const char *_argv0, ... /*, char *const _envp[] */); |
||
29 | int spawnlp(int _mode, const char *_path, const char *_argv0, ...); |
||
30 | int spawnlpe(int _mode, const char *_path, const char *_argv0, ... /*, char *const _envp[] */); |
||
31 | |||
32 | int spawnv(int _mode, const char *_path, char *const _argv[]); |
||
33 | int spawnve(int _mode, const char *_path, char *const _argv[], char *const _envp[]); |
||
34 | int spawnvp(int _mode, const char *_path, char *const _argv[]); |
||
35 | int spawnvpe(int _mode, const char *_path, char *const _argv[], char *const _envp[]); |
||
36 | |||
37 | #define P_WAIT 1 |
||
38 | #define P_NOWAIT 2 /* always generates error */ |
||
39 | #define P_OVERLAY 3 |
||
40 | |||
41 | #endif /* !_POSIX_SOURCE */ |
||
42 | #endif /* !__STRICT_ANSI__ */ |
||
43 | #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ |
||
44 | |||
45 | #ifndef __dj_ENFORCE_FUNCTION_CALLS |
||
46 | #endif /* !__dj_ENFORCE_FUNCTION_CALLS */ |
||
47 | |||
48 | #ifdef __cplusplus |
||
49 | } |
||
50 | #endif |
||
51 | |||
52 | #endif /* !__dj_include_process_h_ */ |