Module Name: src Committed By: kamil Date: Wed Jun 12 00:05:48 UTC 2019
Modified Files: src/lib/libc/gen: posix_spawn.3 Log Message: 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). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 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.8 src/lib/libc/gen/posix_spawn.3:1.9 --- src/lib/libc/gen/posix_spawn.3:1.8 Tue Jun 11 12:49:21 2019 +++ src/lib/libc/gen/posix_spawn.3 Wed Jun 12 00:05:48 2019 @@ -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 <e...@freebsd.org> .\" All rights reserved. @@ -315,6 +315,11 @@ 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. .Sh RETURN VALUES Upon successful completion, .Fn posix_spawn