mirror of https://github.com/mkerrisk/man-pages
wait.2: Add P_PIDFD for waiting on a child referred to by a PID file descriptor
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9e1b1cd286
commit
f3ea12fb84
|
@ -261,6 +261,13 @@ arguments select the child(ren) to wait for, as follows:
|
|||
.IP "\fIidtype\fP == \fBP_PID\fP"
|
||||
Wait for the child whose process ID matches
|
||||
.IR id .
|
||||
.IP "\fIidtype\fP == \fBP_PIDFD\fP (since Linux 5.4)"
|
||||
.\" commit 3695eae5fee0605f316fbaad0b9e3de791d7dfaf
|
||||
Wait for the child referred to by the PID file descriptor specified in
|
||||
.IR id .
|
||||
(See
|
||||
.BR pidfd_open (2)
|
||||
for further information on PID file descriptors.)
|
||||
.IP "\fIidtype\fP == \fBP_PGID\fP"
|
||||
Wait for any child whose process group ID matches
|
||||
.IR id .
|
||||
|
|
Loading…
Reference in New Issue