Source-Changes-HG archive

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

[.joined/src/trunk]: .joined/src/lib/libc/gen exec(3): execlpe() first argume...



details:   https://anonhg.NetBSD.org/.joined/src/rev/30d058140f5a
branches:  trunk
changeset: 359428:30d058140f5a
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Jan 04 20:01:52 2022 +0000

description:
exec(3): execlpe() first argument should be named "file"

"path" arguments are names used as-is, "file" arguments to "p"
functions are used to construct the pathname using $PATH if necessary.

diffstat:

 lib/libc/gen/exec.3 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 940b45e9d6ee -r 30d058140f5a lib/libc/gen/exec.3
--- a/lib/libc/gen/exec.3       Tue Jan 04 19:52:02 2022 +0000
+++ b/lib/libc/gen/exec.3       Tue Jan 04 20:01:52 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: exec.3,v 1.31 2019/09/01 19:36:09 wiz Exp $
+.\"    $NetBSD: exec.3,v 1.32 2022/01/04 20:01:52 uwe Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -52,7 +52,7 @@
 .Ft int
 .Fn execlp "const char *file" "const char *arg" ...
 .Ft int
-.Fn execlpe "const char *path" "const char *arg" ... "char *const envp[]"
+.Fn execlpe "const char *file" "const char *arg" ... "char *const envp[]"
 .Ft int
 .Fn execle "const char *path" "const char *arg" ... "char *const envp[]"
 .Ft int



Home | Main Index | Thread Index | Old Index