Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys vfork.2: recommend posix_spawn instead
details: https://anonhg.NetBSD.org/src/rev/d9b493181972
branches: trunk
changeset: 1021607:d9b493181972
user: nia <nia%NetBSD.org@localhost>
date: Tue Jun 08 16:15:11 2021 +0000
description:
vfork.2: recommend posix_spawn instead
diffstat:
lib/libc/sys/vfork.2 | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 3a2b5a39cdb7 -r d9b493181972 lib/libc/sys/vfork.2
--- a/lib/libc/sys/vfork.2 Tue Jun 08 10:02:04 2021 +0000
+++ b/lib/libc/sys/vfork.2 Tue Jun 08 16:15:11 2021 +0000
@@ -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 @@
.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 @@
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 .
Home |
Main Index |
Thread Index |
Old Index