mirror of https://github.com/mkerrisk/man-pages
select.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
602b388d07
commit
4628e3eca7
|
@ -209,11 +209,11 @@ structure (shown below) that specifies the interval that
|
|||
should block waiting for a file descriptor to become ready.
|
||||
The call will block until either:
|
||||
.RS
|
||||
.IP * 3
|
||||
.IP \(bu 2
|
||||
a file descriptor becomes ready;
|
||||
.IP *
|
||||
.IP \(bu
|
||||
the call is interrupted by a signal handler; or
|
||||
.IP *
|
||||
.IP \(bu
|
||||
the timeout expires.
|
||||
.RE
|
||||
.IP
|
||||
|
@ -248,8 +248,7 @@ The operation of
|
|||
and
|
||||
.BR pselect ()
|
||||
is identical, other than these three differences:
|
||||
.TP
|
||||
(i)
|
||||
.IP \(bu 2
|
||||
.BR select ()
|
||||
uses a timeout that is a
|
||||
.I struct timeval
|
||||
|
@ -258,16 +257,14 @@ uses a timeout that is a
|
|||
uses a
|
||||
.I struct timespec
|
||||
(with seconds and nanoseconds).
|
||||
.TP
|
||||
(ii)
|
||||
.IP \(bu
|
||||
.BR select ()
|
||||
may update the
|
||||
.I timeout
|
||||
argument to indicate how much time was left.
|
||||
.BR pselect ()
|
||||
does not change this argument.
|
||||
.TP
|
||||
(iii)
|
||||
.IP \(bu
|
||||
.BR select ()
|
||||
has no
|
||||
.I sigmask
|
||||
|
|
Loading…
Reference in New Issue