summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-06-18 15:24:21 +0000
committerru <ru@FreeBSD.org>2003-06-18 15:24:21 +0000
commitd73da6e66edddf777cd6ff431168fd8fe19d5d1f (patch)
treeb33f46226cb70fd5272fdb6ff2c815981882715a /lib
parent1d896515bda5742e983913cb035512a2018bded0 (diff)
downloadFreeBSD-src-d73da6e66edddf777cd6ff431168fd8fe19d5d1f.zip
FreeBSD-src-d73da6e66edddf777cd6ff431168fd8fe19d5d1f.tar.gz
Make the execle() synopsis look (again) like a normal C prototype.
Also fixed the rest of ell (list) functions prototypes to include a (commented out) terminating null pointer. Pointed out by: bde Obtained from: POSIX.1-2001 Glanced at by: imp
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/exec.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/exec.3 b/lib/libc/gen/exec.3
index 94b6477..9387267 100644
--- a/lib/libc/gen/exec.3
+++ b/lib/libc/gen/exec.3
@@ -49,11 +49,11 @@
.In unistd.h
.Vt extern char **environ ;
.Ft int
-.Fn execl "const char *path" "const char *arg" ...
+.Fn execl "const char *path" "const char *arg" "... /*" "(char *)0*/"
.Ft int
-.Fn execlp "const char *file" "const char *arg" ...
+.Fn execlp "const char *file" "const char *arg" "... /*" "(char *)0*/"
.Ft int
-.Fn execle "const char *path" "const char *arg" ... NULL "char *const envp[]"
+.Fn execle "const char *path" "const char *arg" "... /*" "(char *)0" "char *const envp[]*/"
.Ft int
.Fn exect "const char *path" "char *const argv[]" "char *const envp[]"
.Ft int
OpenPOWER on IntegriCloud