Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Add execvpe in one more place to explain its la...



details:   https://anonhg.NetBSD.org/src/rev/78dc334d680e
branches:  trunk
changeset: 332559:78dc334d680e
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sat Sep 27 16:42:07 2014 +0000

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

diffstat:

 lib/libc/gen/exec.3 |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r fba4cd666a75 -r 78dc334d680e lib/libc/gen/exec.3
--- a/lib/libc/gen/exec.3       Sat Sep 27 16:22:47 2014 +0000
+++ b/lib/libc/gen/exec.3       Sat Sep 27 16:42:07 2014 +0000
@@ -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 @@
 .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 @@
 .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 @@
 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



Home | Main Index | Thread Index | Old Index