From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "David Prévot" <taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] termios.3: sfix
Date: Thu, 17 Apr 2014 07:44:57 +0200 [thread overview]
Message-ID: <534F6A59.1000709@gmail.com> (raw)
In-Reply-To: <1397694028-23971-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
Thanks, David. Applied.
Cheers,
On 04/17/2014 02:20 AM, David Prévot wrote:
> ---
> 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
>
--
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2014-04-17 5:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 0:20 [PATCH] termios.3: sfix David Prévot
[not found] ` <1397694028-23971-1-git-send-email-taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
2014-04-17 5:44 ` Michael Kerrisk (man-pages) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=534F6A59.1000709@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=taffit-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.