Module Name:    src
Committed By:   nia
Date:           Wed Jun  9 06:00:16 UTC 2021

Modified Files:
        src/lib/libc/sys: vfork.2

Log Message:
vfork.2: clarify posix_spawn recommendation, pointed out by kre


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libc/sys/vfork.2

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/sys/vfork.2
diff -u src/lib/libc/sys/vfork.2:1.29 src/lib/libc/sys/vfork.2:1.30
--- src/lib/libc/sys/vfork.2:1.29	Tue Jun  8 16:15:11 2021
+++ src/lib/libc/sys/vfork.2	Wed Jun  9 06:00:16 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: vfork.2,v 1.29 2021/06/08 16:15:11 nia Exp $
+.\"	$NetBSD: vfork.2,v 1.30 2021/06/09 06:00:16 nia Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)vfork.2	8.1 (Berkeley) 6/4/93
 .\"
-.Dd June 8, 2021
+.Dd June 9, 2021
 .Dt VFORK 2
 .Os
 .Sh NAME
@@ -140,4 +140,8 @@ signals; rather, output or
 calls are allowed and input attempts result in an end-of-file indication.
 .Pp
 New applications should prefer
-.Xr posix_spawn 3 .
+.Xr posix_spawn 3
+over
+.Nm
+followed by
+.Xr execve 2 .

Reply via email to