From: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
To: Denis Barbier <bouzim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] pthread_attr_setdetachstate.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3: Argument name is 'attr', not 'thread'
Date: Wed, 3 Feb 2010 05:51:30 +0100 [thread overview]
Message-ID: <cfd18e0f1002022051p7273a0eo455a67d448dc595f@mail.gmail.com> (raw)
In-Reply-To: <7b3bdec71002011255h2cc49a05kee38dd611e0732e9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Hi Denis,
On Mon, Feb 1, 2010 at 9:55 PM, Denis Barbier <bouzim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi,
>
> Subject says it all; in those 3 pages, function argument is 'attr' but
> it has been misnamed as 'thread' in description.
Thanks. Applied for 3.24.
Cheers,
Michael
> From 63154fb092db324e2a50912b31a92b87b54c665b Mon Sep 17 00:00:00 2001
> From: Denis Barbier <bouzim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Date: Sun, 31 Jan 2010 21:53:31 +0100
> Subject: [PATCH] pthread_attr_setdetachstate.3,
> pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3: Argument
> name is 'attr', not 'thread'
>
> ---
> man3/pthread_attr_setdetachstate.3 | 2 +-
> man3/pthread_attr_setschedparam.3 | 2 +-
> man3/pthread_attr_setschedpolicy.3 | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/man3/pthread_attr_setdetachstate.3
> b/man3/pthread_attr_setdetachstate.3
> index cf130da..31908c3 100644
> --- a/man3/pthread_attr_setdetachstate.3
> +++ b/man3/pthread_attr_setdetachstate.3
> @@ -40,7 +40,7 @@ The
> .BR pthread_attr_setdetachstate ()
> function sets the detach state attribute of the
> thread attributes object referred to by
> -.IR thread
> +.IR attr
> to the value specified in
> .IR detachstate .
> The detach state attribute determines whether a thread created using
> diff --git a/man3/pthread_attr_setschedparam.3
> b/man3/pthread_attr_setschedparam.3
> index df36e84..ad10fbd 100644
> --- a/man3/pthread_attr_setschedparam.3
> +++ b/man3/pthread_attr_setschedparam.3
> @@ -40,7 +40,7 @@ The
> .BR pthread_attr_setschedparam ()
> function sets the scheduling parameter attributes of the
> thread attributes object referred to by
> -.IR thread
> +.IR attr
> to the values specified in the buffer pointed to by
> .IR param .
> These attributes determine the scheduling parameters of
> diff --git a/man3/pthread_attr_setschedpolicy.3
> b/man3/pthread_attr_setschedpolicy.3
> index 478d576..69a3458 100644
> --- a/man3/pthread_attr_setschedpolicy.3
> +++ b/man3/pthread_attr_setschedpolicy.3
> @@ -40,7 +40,7 @@ The
> .BR pthread_attr_setschedpolicy ()
> function sets the scheduling policy attribute of the
> thread attributes object referred to by
> -.IR thread
> +.IR attr
> to the value specified in
> .IR policy .
> This attribute determines the scheduling policy of
> --
> 1.7.0.rc1.7.gc0da5
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface" http://blog.man7.org/
--
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:[~2010-02-03 4:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-01 20:55 [PATCH] pthread_attr_setdetachstate.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3: Argument name is 'attr', not 'thread' Denis Barbier
[not found] ` <7b3bdec71002011255h2cc49a05kee38dd611e0732e9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-02-03 4:51 ` Michael Kerrisk [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=cfd18e0f1002022051p7273a0eo455a67d448dc595f@mail.gmail.com \
--to=mtk.manpages-gm/ye1e23mwn+bqq9rbeug@public.gmane.org \
--cc=bouzim-Re5JQEeQqe8AvxtiuMwx3w@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).