Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Document that posix_spawn(3) uses a dedicated s...



details:   https://anonhg.NetBSD.org/src/rev/055fe20c0f44
branches:  trunk
changeset: 841979:055fe20c0f44
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed Jun 12 00:05:48 2019 +0000

description:
Document that posix_spawn(3) uses a dedicated syscall

vfork+exec operations are done in one go. This is important information for
programs that wrap posix_spawn(3).

diffstat:

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

diffs (21 lines):

diff -r e3950845b290 -r 055fe20c0f44 lib/libc/gen/posix_spawn.3
--- a/lib/libc/gen/posix_spawn.3        Tue Jun 11 23:30:05 2019 +0000
+++ b/lib/libc/gen/posix_spawn.3        Wed Jun 12 00:05:48 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: posix_spawn.3,v 1.8 2019/06/11 12:49:21 wiz Exp $
+.\" $NetBSD: posix_spawn.3,v 1.9 2019/06/12 00:05:48 kamil Exp $
 .\"
 .\" Copyright (c) 2008 Ed Schouten <ed%FreeBSD.org@localhost>
 .\" All rights reserved.
@@ -315,6 +315,11 @@
 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.
 .Sh RETURN VALUES
 Upon successful completion,
 .Fn posix_spawn



Home | Main Index | Thread Index | Old Index