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: clarify posix_spawn recommendation, po...
details: https://anonhg.NetBSD.org/src/rev/3e4266416625
branches: trunk
changeset: 983820:3e4266416625
user: nia <nia%NetBSD.org@localhost>
date: Wed Jun 09 06:00:16 2021 +0000
description:
vfork.2: clarify posix_spawn recommendation, pointed out by kre
diffstat:
lib/libc/sys/vfork.2 | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 32e30883b5c0 -r 3e4266416625 lib/libc/sys/vfork.2
--- a/lib/libc/sys/vfork.2 Tue Jun 08 19:26:48 2021 +0000
+++ b/lib/libc/sys/vfork.2 Wed Jun 09 06:00:16 2021 +0000
@@ -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 @@
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 .
Home |
Main Index |
Thread Index |
Old Index