Skip to contentSkip to conversation

termios.3: sfix

PATCH In review David Prévot 2 participants 2 messages Apr 17, 2014 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 termios.3: sfix

---
 man3/termios.3 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
man3/termios.3 +5 -5
index ec5a847..c0e3c45 100644
@@ -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
Signature · 6 lines
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to a message not in the archive

Thanks, David. Applied.

Cheers,

Quoted 50 lines · David Prévot
---
 man3/termios.3 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
man3/termios.3 +5 -5
index ec5a847..c0e3c45 100644
@@ -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
Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html