diff options
Diffstat (limited to 'newlib/libc/posix/execv.c')
-rw-r--r-- | newlib/libc/posix/execv.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/newlib/libc/posix/execv.c b/newlib/libc/posix/execv.c deleted file mode 100644 index 8793e2ec4..000000000 --- a/newlib/libc/posix/execv.c +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef _NO_EXECVE - -/* execv.c */ - -/* This and the other exec*.c files in this directory require - the target to provide the _execve syscall. */ - -#include <_ansi.h> -#include <unistd.h> - -/* Only deal with a pointer to environ, to work around subtle bugs with shared - libraries and/or small data systems where the user declares his own - 'environ'. */ -static char ***p_environ = &environ; - -int -_DEFUN (execv, (path, argv), - const char *path _AND - char * const argv[]) -{ - return _execve (path, (char * _CONST *) argv, *p_environ); -} - -#endif /* !_NO_EXECVE */ |