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.
|
should block waiting for a file descriptor to become ready.
|
||||||
The call will block until either:
|
The call will block until either:
|
||||||
.RS
|
.RS
|
||||||
.IP * 3
|
.IP \(bu 2
|
||||||
a file descriptor becomes ready;
|
a file descriptor becomes ready;
|
||||||
.IP *
|
.IP \(bu
|
||||||
the call is interrupted by a signal handler; or
|
the call is interrupted by a signal handler; or
|
||||||
.IP *
|
.IP \(bu
|
||||||
the timeout expires.
|
the timeout expires.
|
||||||
.RE
|
.RE
|
||||||
.IP
|
.IP
|
||||||
|
@ -248,8 +248,7 @@ The operation of
|
||||||
and
|
and
|
||||||
.BR pselect ()
|
.BR pselect ()
|
||||||
is identical, other than these three differences:
|
is identical, other than these three differences:
|
||||||
.TP
|
.IP \(bu 2
|
||||||
(i)
|
|
||||||
.BR select ()
|
.BR select ()
|
||||||
uses a timeout that is a
|
uses a timeout that is a
|
||||||
.I struct timeval
|
.I struct timeval
|
||||||
|
@ -258,16 +257,14 @@ uses a timeout that is a
|
||||||
uses a
|
uses a
|
||||||
.I struct timespec
|
.I struct timespec
|
||||||
(with seconds and nanoseconds).
|
(with seconds and nanoseconds).
|
||||||
.TP
|
.IP \(bu
|
||||||
(ii)
|
|
||||||
.BR select ()
|
.BR select ()
|
||||||
may update the
|
may update the
|
||||||
.I timeout
|
.I timeout
|
||||||
argument to indicate how much time was left.
|
argument to indicate how much time was left.
|
||||||
.BR pselect ()
|
.BR pselect ()
|
||||||
does not change this argument.
|
does not change this argument.
|
||||||
.TP
|
.IP \(bu
|
||||||
(iii)
|
|
||||||
.BR select ()
|
.BR select ()
|
||||||
has no
|
has no
|
||||||
.I sigmask
|
.I sigmask
|
||||||
|
|
Loading…
Reference in New Issue