aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorŠtěpán Němec <stepnem@gmail.com>2022-08-08 17:07:46 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-08-15 23:27:08 +0200
commit03ea37c5bd7dd383d927bdfe2c24414ef33b4f74 (patch)
treeb52e6024119867f4e1e0312dc10c3607f70cb033
parenta2feb3e14f51a0e74daeb6f0217887ca31799967 (diff)
downloadman-pages-03ea37c5bd7dd383d927bdfe2c24414ef33b4f74.tar.gz
poll.2: tfix
Fixes: 0bdda5d08e82 ("poll.2: Note that poll() equivalent code for ppoll() is not quite equivalent") Signed-off-by: Štěpán Němec <stepnem@gmail.com> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man2/poll.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/poll.2 b/man2/poll.2
index ff22045247..d98d94172b 100644
--- a/man2/poll.2
+++ b/man2/poll.2
@@ -351,7 +351,7 @@ value.
.B EINVAL
.RB ( ppoll ())
The timeout value expressed in
-.I *ip
+.I *tmo_p
is invalid (negative).
.TP
.B ENOMEM
@@ -468,7 +468,7 @@ field in a human-readable form;
if the file descriptor is readable, reads some data from it,
and displays that data on standard output; and
.IP \(bu
-if the file descriptors was not readable,
+if the file descriptor was not readable,
but some other event occurred (presumably
.BR POLLHUP ),
closes the file descriptor.