From: "G.raud" <graud-KK0ffGbhmjU@public.gmane.org>
To: "Michael Kerrisk (man-pages)"
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: select.2: s/minimum/maximum/
Date: Thu, 22 Aug 2013 17:38:49 +0200 [thread overview]
Message-ID: <20130822153850.29990@gmx.com> (raw)
> Date: Thu, 22 Aug 2013 09:22:32 +0200
> From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Subject: Re: select.2: s/minimum/maximum/
>
> On 08/20/13 01:00, G.raud wrote:
> > In this part of the manpage:
> >
> > " The timeout argument specifies the minimum interval that select()
> > should block waiting for a file descriptor to become ready. "
>
> This isn't correct (though maybe there is room for a better wording).
>
> The 'timeout' places a ceiling on how long the call will block,
> but that ceiling has the *minimum* value provided by the argument.
> See what I mean?
The text that you cite and that is not correct is extracted from the
present manpage. The corrected text should be:
" The timeout argument specifies the maximum interval that select()
should block waiting for a file descriptor to become ready. "
which is close to the POSIX description and is correct in that "specify"
does not mean "is equal to" but can be understood as "is close to",
which is all most of the programmers need to know.
I suggest prepending the following before the complete description bewtween
parentheses if a better (i.e. more explicit) wording is desired:
" timeout is a lower bound on the actual maximum waiting time."
--
G.raud Meyer
--
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
next reply other threads:[~2013-08-22 15:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-22 15:38 G.raud [this message]
[not found] ` <20130822153850.29990-KK0ffGbhmjU@public.gmane.org>
2013-08-23 8:51 ` select.2: s/minimum/maximum/ Michael Kerrisk (man-pages)
-- strict thread matches above, loose matches on Subject: below --
2013-08-23 15:10 G.raud
[not found] ` <20130823151009.30030-KK0ffGbhmjU@public.gmane.org>
2013-09-04 8:40 ` Michael Kerrisk (man-pages)
2013-08-19 23:00 G.raud
[not found] ` <20130819230019.190010-KK0ffGbhmjU@public.gmane.org>
2013-08-22 7:22 ` Michael Kerrisk (man-pages)
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=20130822153850.29990@gmx.com \
--to=graud-kk0ffgbhmju@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).