Date: Sat, 17 Nov 2018 20:11:39 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r340516 - stable/12/lib/libc/sys Message-ID: <201811172011.wAHKBdm3055494@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Sat Nov 17 20:11:39 2018 New Revision: 340516 URL: https://svnweb.freebsd.org/changeset/base/340516 Log: MFC r339692: Clarify slightly the interaction between wait*() and pdfork(). Modified: stable/12/lib/libc/sys/wait.2 Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/libc/sys/wait.2 ============================================================================== --- stable/12/lib/libc/sys/wait.2 Sat Nov 17 20:11:20 2018 (r340515) +++ stable/12/lib/libc/sys/wait.2 Sat Nov 17 20:11:39 2018 (r340516) @@ -28,7 +28,7 @@ .\" @(#)wait.2 8.2 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd December 1, 2017 +.Dd October 24, 2018 .Dt WAIT 2 .Os .Sh NAME @@ -597,11 +597,11 @@ fields of .Fa infop must be checked against zero to determine if a process reported status. .Pp +The .Fn wait -called with -1 to wait for any child process will ignore a child that is -referenced by a process descriptor (see -.Xr pdfork 2 ) . -Specific processes can still be waited on by specifying the process ID. +family of functions will not return a child process created with +.Xr pdfork 2 +unless specifically directed to do so by specifying its process ID. .Sh ERRORS The .Fn wait
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811172011.wAHKBdm3055494>