From 4ad1bccf132b3c564df8fe00da9bd5e9124ef9a5 Mon Sep 17 00:00:00 2001 From: gordon Date: Sun, 29 Jun 2003 17:33:34 +0000 Subject: Add a libc function execvP that takes the search path as an arguement. Change execvp to be a wrapper around execvP. This is necessary for some of the /rescue pieces. It may also be more generally applicable as well. Submitted by: Tim Kientzle Approved by: Silence on arch@ --- include/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/unistd.h') diff --git a/include/unistd.h b/include/unistd.h index 4c4b04c..3753cd8 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -335,6 +335,7 @@ int execlp(const char *, const char *, ...); int execv(const char *, char * const *); int execve(const char *, char * const *, char * const *); int execvp(const char *, char * const *); +int execvP(const char *, const char *, char * const *); pid_t fork(void); long fpathconf(int, int); char *getcwd(char *, size_t); -- cgit v1.1