summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2003-06-29 17:33:34 +0000
committergordon <gordon@FreeBSD.org>2003-06-29 17:33:34 +0000
commit4ad1bccf132b3c564df8fe00da9bd5e9124ef9a5 (patch)
tree8f553a0aed9c7e26590831e651a76750dd5efb9d /include/unistd.h
parentaccf54d2fd6d971fc3cf6cc35ff5866b1275597e (diff)
downloadFreeBSD-src-4ad1bccf132b3c564df8fe00da9bd5e9124ef9a5.zip
FreeBSD-src-4ad1bccf132b3c564df8fe00da9bd5e9124ef9a5.tar.gz
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 <kientzle@acm.org> Approved by: Silence on arch@
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud