pidfd_open.2: Minor fix: add some structure to text on use cases

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-10-12 21:18:40 +02:00
parent ecefd5997f
commit d069725512
1 changed files with 9 additions and 1 deletions

View File

@ -144,11 +144,19 @@ flag.
.\"
.SS Use cases for PID file descriptors
.PP
A PID file descriptor returned by
.BR pidfd_open ()
(of by
.BR clone (2)
with the
.BR CLONE_PID
flag) can be used for the following purposes:
.IP * 3
The
.BR pidfd_send_signal (2)
system call can be used to send a signal to the process referred to by
a PID file descriptor.
.PP
.IP *
A PID file descriptor can be monitored using
.BR poll (2),
.BR select (2),