Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Rephrase sentence about vfork+exec in posix_spa...



details:   https://anonhg.NetBSD.org/src/rev/0ee67b5a9344
branches:  trunk
changeset: 451937:0ee67b5a9344
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed Jun 12 12:26:24 2019 +0000

description:
Rephrase sentence about vfork+exec in posix_spawn(3)

Try to make it less confusing.

Requested by <joerg>

diffstat:

 lib/libc/gen/posix_spawn.3 |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 95137d9dd815 -r 0ee67b5a9344 lib/libc/gen/posix_spawn.3
--- a/lib/libc/gen/posix_spawn.3        Wed Jun 12 11:35:17 2019 +0000
+++ b/lib/libc/gen/posix_spawn.3        Wed Jun 12 12:26:24 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: posix_spawn.3,v 1.9 2019/06/12 00:05:48 kamil Exp $
+.\" $NetBSD: posix_spawn.3,v 1.10 2019/06/12 12:26:24 kamil Exp $
 .\"
 .\" Copyright (c) 2008 Ed Schouten <ed%FreeBSD.org@localhost>
 .\" All rights reserved.
@@ -315,11 +315,10 @@
 This implementation does not run
 .Xr pthread_atfork 3
 callbacks.
-The
-.Xr vfork 2
-and
-.Xr exec 3
-operations are implemented as a single syscall.
+.Fn posix_spawn
+on
+.Nx
+directly creates the child process without intermediant fork.
 .Sh RETURN VALUES
 Upon successful completion,
 .Fn posix_spawn



Home | Main Index | Thread Index | Old Index