Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
determine the circumstances in which a
.BR read (2)
completes; there are four distinct cases:
-.IP * 2
+.TP
MIN == 0; TIME == 0:
If data is available,
.BR read (2)
If no data is available,
.BR read (2)
returns 0.
-.IP * 2
+.TP
MIN > 0; TIME == 0:
.BR read (2)
blocks until the lesser of MIN bytes or the number of bytes requested
are available, and returns the lesser of these two values.
-.IP * 2
+.TP
MIN == 0; TIME > 0:
TIME specifies the limit for a timer in tenths of a second.
The timer is started when
If the timer expires without any input becoming available,
.BR read (2)
returns 0.
-.IP * 2
+.TP
MIN > 0; TIME > 0:
TIME specifies the limit for a timer in tenths of a second.
Once an initial byte of input becomes available,