Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2016 19:49:38 +0000 (UTC)
From:      Mariusz Zaborski <oshogbo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r301159 - head/lib/libc/sys
Message-ID:  <201606011949.u51JncwU005062@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: oshogbo
Date: Wed Jun  1 19:49:38 2016
New Revision: 301159
URL: https://svnweb.freebsd.org/changeset/base/301159

Log:
  Document behavior of wait introduced in the r286698.
  
  Suggested by:		glebius
  Reviewed by:		wblock, bjk
  Differential Revision:	https://reviews.freebsd.org/D6080

Modified:
  head/lib/libc/sys/wait.2

Modified: head/lib/libc/sys/wait.2
==============================================================================
--- head/lib/libc/sys/wait.2	Wed Jun  1 18:46:54 2016	(r301158)
+++ head/lib/libc/sys/wait.2	Wed Jun  1 19:49:38 2016	(r301159)
@@ -28,7 +28,7 @@
 .\"     @(#)wait.2	8.2 (Berkeley) 4/19/94
 .\" $FreeBSD$
 .\"
-.Dd December 3, 2013
+.Dd June 1, 2016
 .Dt WAIT 2
 .Os
 .Sh NAME
@@ -596,6 +596,14 @@ and
 fields of
 .Fa infop
 must be checked against zero to determine if a process reported status.
+.Pp
+.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
+or descriptor (see
+.Xr pdwait 4 ) .
 .Sh ERRORS
 The
 .Fn wait



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606011949.u51JncwU005062>