Module Name: src Committed By: nia Date: Tue Jun 8 16:15:12 UTC 2021
Modified Files: src/lib/libc/sys: vfork.2 Log Message: vfork.2: recommend posix_spawn instead To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 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.28 src/lib/libc/sys/vfork.2:1.29 --- src/lib/libc/sys/vfork.2:1.28 Sat May 19 05:39:21 2018 +++ src/lib/libc/sys/vfork.2 Tue Jun 8 16:15:11 2021 @@ -1,4 +1,4 @@ -.\" $NetBSD: vfork.2,v 1.28 2018/05/19 05:39:21 kamil Exp $ +.\" $NetBSD: vfork.2,v 1.29 2021/06/08 16:15:11 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 May 19, 2018 +.Dd June 8, 2021 .Dt VFORK 2 .Os .Sh NAME @@ -105,7 +105,8 @@ Same as for .Xr execve 2 , .Xr fork 2 , .Xr sigaction 2 , -.Xr wait 2 +.Xr wait 2 , +.Xr posix_spawn 3 .Sh HISTORY The .Fn vfork @@ -137,3 +138,6 @@ or signals; rather, output or .Xr ioctl 2 calls are allowed and input attempts result in an end-of-file indication. +.Pp +New applications should prefer +.Xr posix_spawn 3 .