From d73da6e66edddf777cd6ff431168fd8fe19d5d1f Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 18 Jun 2003 15:24:21 +0000 Subject: 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 --- lib/libc/gen/exec.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc') 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 -- cgit v1.1