pidfd_open.2: Mention pidfd_getfd(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-03-31 14:05:24 +02:00
parent 8b4baee738
commit 6e91d3e290
1 changed files with 6 additions and 0 deletions

View File

@ -173,6 +173,11 @@ on the file descriptor fails with the error
If the PID file descriptor refers to a child of the calling process,
then it can be waited on using
.BR waitid (2).
.IP *
The
.BR pidfd_getfd (2)
system call can be used to obtain a duplicate of a file descriptor
of another process referred to by a PID file descriptor.
.PP
The
.BR pidfd_open ()
@ -253,6 +258,7 @@ main(int argc, char *argv[])
.SH SEE ALSO
.BR clone (2),
.BR kill (2),
.BR pidfd_getfd (2),
.BR pidfd_send_signal (2),
.BR poll (2),
.BR select (2),