From f8f8b9c1f6c84d3d5e7fef2a4c1119f2a4770ebd Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 21 Mar 2014 15:15:06 +0100 Subject: [PATCH] termios.3: Add descriptive titles to noncanonical read() cases Signed-off-by: Michael Kerrisk --- man3/termios.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man3/termios.3 b/man3/termios.3 index afece1756..ec5a8471c 100644 --- a/man3/termios.3 +++ b/man3/termios.3 @@ -725,7 +725,7 @@ determine the circumstances in which a .BR read (2) completes; there are four distinct cases: .TP -MIN == 0; TIME == 0: +MIN == 0, TIME == 0 (polling read) If data is available, .BR read (2) returns immediately, with the lesser of the number of bytes @@ -734,12 +734,12 @@ If no data is available, .BR read (2) returns 0. .TP -MIN > 0; TIME == 0: +MIN > 0, TIME == 0 (blocking read) .BR read (2) blocks until MIN bytes are available, and returns up to the number of bytes requested. .TP -MIN == 0; TIME > 0: +MIN == 0, TIME > 0 (read with timeout) TIME specifies the limit for a timer in tenths of a second. The timer is started when .BR read (2) @@ -754,7 +754,7 @@ If data is already available at the time of the call to .BR read (), the call behaves as though the data was received immediately after the call. .TP -MIN > 0; TIME > 0: +MIN > 0, TIME > 0 (read with interbyte timeout) TIME specifies the limit for a timer in tenths of a second. Once an initial byte of input becomes available, the timer is restarted after each further byte is received.