diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-08-19 14:29:34 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-08-19 14:29:34 +0000 |
commit | e8fdf15a7581d8ad22e99c50cb55fb1168fb4a7f (patch) | |
tree | 6e69fb0465744bc81079ad417fd57d9e2971a047 /newlib/libc/include/process.h | |
parent | 6648762916a0669e7f95b21cb2c39fb462114121 (diff) | |
download | cygnal-e8fdf15a7581d8ad22e99c50cb55fb1168fb4a7f.tar.gz cygnal-e8fdf15a7581d8ad22e99c50cb55fb1168fb4a7f.tar.bz2 cygnal-e8fdf15a7581d8ad22e99c50cb55fb1168fb4a7f.zip |
* libc/include/process.h: Remove exec family function declarations.
Add comment.
* libc/include/sys/unistd.h (execlpe): Declare for Cygwin.
Diffstat (limited to 'newlib/libc/include/process.h')
-rw-r--r-- | newlib/libc/include/process.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/newlib/libc/include/process.h b/newlib/libc/include/process.h index a73564a33..fe6ec1613 100644 --- a/newlib/libc/include/process.h +++ b/newlib/libc/include/process.h @@ -1,4 +1,5 @@ -/* process.h. This file comes with MSDOS and WIN32 systems. */ +/* process.h. Define spawn family of functions as provided by Cygwin. + The original file of this name is a MS/DOS invention. */ #ifndef __PROCESS_H_ #define __PROCESS_H_ @@ -7,15 +8,7 @@ extern "C" { #endif -int execl(const char *path, const char *argv0, ...); -int execle(const char *path, const char *argv0, ... /*, char * const *envp */); -int execlp(const char *path, const char *argv0, ...); -int execlpe(const char *path, const char *argv0, ... /*, char * const *envp */); - -int execv(const char *path, char * const *argv); -int execve(const char *path, char * const *argv, char * const *envp); -int execvp(const char *path, char * const *argv); -int execvpe(const char *path, char * const *argv, char * const *envp); +/* For the exec functions, include unistd.h. */ int spawnl(int mode, const char *path, const char *argv0, ...); int spawnle(int mode, const char *path, const char *argv0, ... /*, char * const *envp */); |