.\" 2006-07-01, mtk, Added POLLRDHUP + various other wording and
.\" formatting changes.
.\"
-.TH POLL 2 2010-06-12 "Linux" "Linux Programmer's Manual"
+.TH POLL 2 2010-09-20 "Linux" "Linux Programmer's Manual"
.SH NAME
poll, ppoll \- wait for some event on a file descriptor
.SH SYNOPSIS
.TP
.B POLLPRI
There is urgent data to read (e.g., out-of-band data on TCP socket;
-pseudo-terminal master in packet mode has seen state change in slave).
+pseudoterminal master in packet mode has seen state change in slave).
.TP
.B POLLOUT
Writing now will not block.
or shut down writing half of connection.
The
.B _GNU_SOURCE
-feature test macro must be defined in order to obtain this definition.
+feature test macro must be defined
+(before including
+.I any
+header files)
+in order to obtain this definition.
.TP
.B POLLERR
Error condition (output only).
with the value \-1 for use as a
.IR timeout
for
-.BR poll ()..
+.BR poll ().
This constant is not provided in glibc.
.SS "Linux Notes"
The Linux