mirror of https://github.com/mkerrisk/man-pages
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:
parent
ecefd5997f
commit
d069725512
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue