diff options
author | ed <ed@FreeBSD.org> | 2008-06-23 05:22:06 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-06-23 05:22:06 +0000 |
commit | 6fc79f1dacf676008042f647315769e5e8edbcfa (patch) | |
tree | 37f73290d9e8248f3796231b9552e9950ed5a717 /lib/libc/gen/exec.3 | |
parent | 88c4783a40954d6c191083f0147479775667be73 (diff) | |
download | FreeBSD-src-6fc79f1dacf676008042f647315769e5e8edbcfa.zip FreeBSD-src-6fc79f1dacf676008042f647315769e5e8edbcfa.tar.gz |
Turn execvpe() into an internal libc routine.
Adding exevpe() has caused some ports to break. Even though execvpe() is
a useful routine, it does not conform to any standards.
This patch is a little bit different from the patch sent to the mailing
list. I forgot to remove execvpe from the Symbol.map (which does not
seem to miscompile libc, though).
Reviewed by: davidxu
Approved by: philip
Diffstat (limited to 'lib/libc/gen/exec.3')
-rw-r--r-- | lib/libc/gen/exec.3 | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3 index 448a1b9..daeccd1 100644 --- a/lib/libc/gen/exec.3 +++ b/lib/libc/gen/exec.3 @@ -38,7 +38,6 @@ .Nm exect , .Nm execv , .Nm execvp , -.Nm execvpe , .Nm execvP .Nd execute a file .Sh LIBRARY @@ -65,8 +64,6 @@ .Ft int .Fn execvp "const char *file" "char *const argv[]" .Ft int -.Fn execvpe "const char *file" "char *const argv[]" "char *const envp[]" -.Ft int .Fn execvP "const char *file" "const char *search_path" "char *const argv[]" .Sh DESCRIPTION The @@ -121,10 +118,9 @@ be terminated by a pointer. .Pp The -.Fn execle , -.Fn exect +.Fn execle and -.Fn execvpe +.Fn exect functions also specify the environment of the executed process by following the .Dv NULL @@ -146,7 +142,6 @@ Some of these functions have special semantics. The functions .Fn execlp , .Fn execvp , -.Fn execvpe , and .Fn execvP will duplicate the actions of the shell in searching for an executable file @@ -157,7 +152,6 @@ For .Fn execlp and .Fn execvp , -.Fn execvpe , search path is the path specified in the environment by .Dq Ev PATH variable. @@ -283,8 +277,7 @@ The .Fn execl , .Fn execle , .Fn execlp , -.Fn execvp , -.Fn execvpe +.Fn execvp and .Fn execvP functions @@ -326,7 +319,3 @@ The .Fn execvP function first appeared in .Fx 5.2 . -The -.Fn execvpe -function first appeared in -.Fx 8.0 . |