termios.3: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
David Prévot 2014-04-16 20:20:28 -04:00 committed by Michael Kerrisk
parent 27f0af8e92
commit 8563c24924
1 changed files with 5 additions and 5 deletions

View File

@ -751,7 +751,7 @@ If the timer expires without any input becoming available,
.BR read (2)
returns 0.
If data is already available at the time of the call to
.BR read (),
.BR read (2),
the call behaves as though the data was received immediately after the call.
.TP
MIN > 0, TIME > 0 (read with interbyte timeout)
@ -772,14 +772,14 @@ has been received.
(POSIX does not specify this termination condition,
and on some other implementations
.\" e.g., Solaris
.BR read ()
.BR read (2)
does not return in this case.)
.RE
.IP
Because the timer is started only after the initial byte
becomes available, at least one byte will be read.
If data is already available at the time of the call to
.BR read (),
.BR read (2),
the call behaves as though the data was received immediately after the call.
.PP
POSIX
@ -790,12 +790,12 @@ file status flag takes precedence over the MIN and TIME settings.
If
.B O_NONBLOCK
is set, a
.BR read ()
.BR read (2)
in noncanonical mode may return immediately,
regardless of the setting of MIN or TIME.
Furthermore, if no data is available,
POSIX permits a
.BR read ()
.BR read (2)
in noncanonical mode to return either 0, or \-1 with
.I errno
set to