diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2 index b67320708..887aa769d 100644 --- a/man2/pidfd_open.2 +++ b/man2/pidfd_open.2 @@ -113,13 +113,11 @@ flag in .SH EXAMPLE The program below opens a PID file descriptor for the process whose PID is specified as its command-line argument. -It then monitors the file descriptor for readability -.RB ( POLLIN ) -using -.BR poll (2). -When the process with the specified by PID terminates, +It then uses .BR poll (2) -returns, and indicates that the file descriptor is readable. +to monitor the file descriptor for process exit, as indicated by an +.BR EPOLLIN +event. .\" .SS Program source \&