Module Name:    src
Committed By:   wiz
Date:           Sat Sep 27 16:42:07 UTC 2014

Modified Files:
        src/lib/libc/gen: exec.3

Log Message:
Add execvpe in one more place to explain its last argument.
Call character '0' 'NUL' instead of 'null'.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libc/gen/exec.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/gen/exec.3
diff -u src/lib/libc/gen/exec.3:1.25 src/lib/libc/gen/exec.3:1.26
--- src/lib/libc/gen/exec.3:1.25	Sat Sep 27 08:46:56 2014
+++ src/lib/libc/gen/exec.3	Sat Sep 27 16:42:07 2014
@@ -1,4 +1,4 @@
-.\"	$NetBSD: exec.3,v 1.25 2014/09/27 08:46:56 wiz Exp $
+.\"	$NetBSD: exec.3,v 1.26 2014/09/27 16:42:07 wiz Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -92,7 +92,7 @@ functions can be thought of as
 .Em arg1 ,
 \&...,
 .Em argn .
-Together they describe a list of one or more pointers to null-terminated
+Together they describe a list of one or more pointers to NUL-terminated
 strings that represent the argument list available to the executed program.
 The first argument, by convention, should point to the file name associated
 with the file being executed.
@@ -108,7 +108,7 @@ The
 .Fn execvp ,
 and
 .Fn execvpe
-functions provide an array of pointers to null-terminated strings that
+functions provide an array of pointers to NUL-terminated strings that
 represent the argument list available to the new program.
 The first argument, by convention, should point to the file name associated
 with the file being executed.
@@ -121,14 +121,15 @@ pointer.
 The
 .Fn execle ,
 .Fn execlpe ,
+.Fn exect ,
 and
-.Fn exect
+.Fn execvpe
 functions also specify the environment of the executed process by following
 the
 .Dv NULL
 pointer that terminates the list of arguments in the parameter list
 or the pointer to the argv array with an additional parameter.
-This additional parameter is an array of pointers to null-terminated strings
+This additional parameter is an array of pointers to NUL-terminated strings
 and
 .Em must
 be terminated by a

Reply via email to