Module Name:    src
Committed By:   kamil
Date:           Wed Jun 12 12:26:24 UTC 2019

Modified Files:
        src/lib/libc/gen: posix_spawn.3

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

Try to make it less confusing.

Requested by <joerg>


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/gen/posix_spawn.3

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/gen/posix_spawn.3
diff -u src/lib/libc/gen/posix_spawn.3:1.9 src/lib/libc/gen/posix_spawn.3:1.10
--- src/lib/libc/gen/posix_spawn.3:1.9	Wed Jun 12 00:05:48 2019
+++ src/lib/libc/gen/posix_spawn.3	Wed Jun 12 12:26:24 2019
@@ -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 <e...@freebsd.org>
 .\" All rights reserved.
@@ -315,11 +315,10 @@ had been called by the child process to 
 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

Reply via email to