diff options
author | davidxu <davidxu@FreeBSD.org> | 2008-06-17 06:26:29 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2008-06-17 06:26:29 +0000 |
commit | 3c1842a44c305fc36a39fec10fab78ad2db84f9e (patch) | |
tree | 3becab100d0d969a37794d8b43bde8568de3d68d /include/unistd.h | |
parent | 0b0ecff057d6974579e798f31444aae33a98c1b8 (diff) | |
download | FreeBSD-src-3c1842a44c305fc36a39fec10fab78ad2db84f9e.zip FreeBSD-src-3c1842a44c305fc36a39fec10fab78ad2db84f9e.tar.gz |
Add POSIX routines called posix_spawn() and posix_spawnp(), which
can be used as replacements for exec/fork in a lot of cases. This
change also added execvpe() which allows environment variable
PATH to be used for searching executable file, it is used for
implementing posix_spawnp().
PR: standards/122051
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index 53efe49..cfc8ce4 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 execvpe(const char *, char * const *, char * const *); pid_t fork(void); long fpathconf(int, int); char *getcwd(char *, size_t); |