poll.2: Expand discussion of POLLPRI

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-03-29 07:51:13 +02:00
parent 3352f57925
commit e629dd7890
1 changed files with 16 additions and 2 deletions

View File

@ -162,8 +162,22 @@ are defined in \fI<poll.h>\fP:
There is data to read.
.TP
.B POLLPRI
There is urgent data to read (e.g., out-of-band data on TCP socket;
pseudoterminal master in packet mode has seen state change in slave).
There is some exceptional condition on the file descriptor.
Possibilities include:
.RS
.IP * 3
There is out-of-band data on a TCP socket (see
.BR tcp (7)).
.IP *
A pseudoterminal master in packet mode has seen a state change on the slave
(see
.BR ioctl_tty (2)).
.IP *
A
.I cgroup.events
file has been modified (see
.BR cgroups (7)).
.RE
.TP
.B POLLOUT
Writing is now possible, though a write larger that the available space