diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-11 02:26:43 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-11 02:26:43 +0000 |
commit | b2e8018f082008a5255b12bf37674acc55324cd0 (patch) | |
tree | 9ea5ca19eb197a3e76c870467c1a836d40bba1ed | |
parent | d5377829a83b0e7a6989bbc19fc17dbf42d74bb2 (diff) | |
download | newlib-b2e8018f082008a5255b12bf37674acc55324cd0.zip newlib-b2e8018f082008a5255b12bf37674acc55324cd0.tar.gz newlib-b2e8018f082008a5255b12bf37674acc55324cd0.tar.bz2 |
* libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnve
declaration.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/process.h | 19 |
2 files changed, 6 insertions, 18 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 370a51b..52e7337 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2002-06-10 Christopher Faylor <cgf@redhat.com> + + * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix + spawnve declaration. + 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com> * libm/common/s_fdim.c: New file. diff --git a/newlib/libc/include/process.h b/newlib/libc/include/process.h index 4f6fe40..a73564a 100644 --- a/newlib/libc/include/process.h +++ b/newlib/libc/include/process.h @@ -23,27 +23,10 @@ int spawnlp(int mode, const char *path, const char *argv0, ...); int spawnlpe(int mode, const char *path, const char *argv0, ... /*, char * const *envp */); int spawnv(int mode, const char *path, const char * const *argv); -int spawnve(int mode, const char *path, char * const *argv, const char * const *envp); +int spawnve(int mode, const char *path, const char * const *argv, const char * const *envp); int spawnvp(int mode, const char *path, const char * const *argv); int spawnvpe(int mode, const char *path, const char * const *argv, const char * const *envp); -#ifdef __CYGWIN__ -/* Secure exec() functions family */ -/* The first arg should really be a HANDLE which is a void *. But we - can't include windows.h here so... */ -#include <sys/types.h> -pid_t sexecl(void *, const char *path, const char *argv0, ...); -pid_t sexecle(void *, const char *path, const char *argv0, ... /*, char * const *envp */); -pid_t sexeclp(void *, const char *path, const char *argv0, ...); -pid_t sexeclpe(void *, const char *path, const char *argv0, ... /*, char * const *envp */); - -pid_t sexecv(void *, const char *path, const char * const *argv); -pid_t sexecve(void *, const char *path, const char * const *argv, const char * const *envp); -pid_t sexecvp(void *, const char *path, const char * const *argv); -pid_t sexecvpe(void *, const char *path, const char * const *argv, const char * const *envp); -pid_t getpid(void); -#endif - int cwait(int *, int, int); #define _P_WAIT 1 |