Module Name:    src
Committed By:   uwe
Date:           Tue Jan  4 20:01:52 UTC 2022

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 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.31 src/lib/libc/gen/exec.3:1.32
--- src/lib/libc/gen/exec.3:1.31	Sun Sep  1 19:36:09 2019
+++ src/lib/libc/gen/exec.3	Tue Jan  4 20:01:52 2022
@@ -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

Reply via email to