summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-09-03 03:25:35 +0000
committerbde <bde@FreeBSD.org>1997-09-03 03:25:35 +0000
commitfe44e1424357f69aef680cad3118557ab485cbca (patch)
tree4968f30cfd9de6eb7b7edbdf1700a53366533a1f /lib
parenta5b9ae295918c9219a141f439a54c0478e8463c3 (diff)
downloadFreeBSD-src-fe44e1424357f69aef680cad3118557ab485cbca.zip
FreeBSD-src-fe44e1424357f69aef680cad3118557ab485cbca.tar.gz
Fixed synopsis. The envp arg for execle() can't be given in the prototype.
Fortunately, the man page doesn't refer to "envp" so just deleting it is OK.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/exec.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3
index 367d71a..2ac124b 100644
--- a/lib/libc/gen/exec.3
+++ b/lib/libc/gen/exec.3
@@ -50,9 +50,9 @@
.Ft int
.Fn execlp "const char *file" "const char *arg" ...
.Ft int
-.Fn execle "const char *path" "const char *arg" ... "char *const envp[]"
+.Fn execle "const char *path" "const char *arg" ...
.Ft int
-.Fn exect "const char *path" "char *const argv[]" "char *const envp[]"
+.Fn exect "const char *path" "char *const argv[]" "char *const envp[]"
.Ft int
.Fn execv "const char *path" "char *const argv[]"
.Ft int
OpenPOWER on IntegriCloud