--- man3/termios.3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man3/termios.3 b/man3/termios.3 index ec5a847..c0e3c45 100644 --- a/man3/termios.3 +++ b/man3/termios.3 @@ -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 -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html