Skip to contentSkip to conversation

poll.2: tfix

PATCH In review Štěpán Němec 2 participants 2 messages Aug 8, 2022 – Aug 16, 2022 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poll.2: tfix

Fixes 0bdda5d08e82 ("poll.2: Note that poll() equivalent code for ppoll() is not quite equivalent")
---
 man2/poll.2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
man2/poll.2 +2 -2
index ff22045247f3..d98d94172b08 100644
@@ -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.

base-commit: 226cd95d78c24dee169bb96913721221fb8f656a

Signature · 1 line
2.37.1
#1 lore raw

Hi Štěpán,

Quoted 2 lines · Štěpán Němec
Fixes 0bdda5d08e82 ("poll.2: Note that poll() equivalent code for ppoll() is not quite equivalent")

Patch applied.

Thanks,

Alex

Quoted 28 lines
---
  man2/poll.2 | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
man2/poll.2 +2 -2
index ff22045247f3..d98d94172b08 100644
@@ -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.

base-commit: 226cd95d78c24dee169bb96913721221fb8f656a

Signature · 2 lines
Alejandro Colomar
<http://www.alejandro-colomar.es/>