* [PATCH] pthread_attr_setdetachstate.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3: Argument name is 'attr', not 'thread'
@ 2010-02-01 20:55 Denis Barbier
[not found] ` <7b3bdec71002011255h2cc49a05kee38dd611e0732e9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Denis Barbier @ 2010-02-01 20:55 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Hi,
Subject says it all; in those 3 pages, function argument is 'attr' but
it has been misnamed as 'thread' in description.
Denis
>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
--
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pthread_attr_setdetachstate.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3: Argument name is 'attr', not 'thread'
[not found] ` <7b3bdec71002011255h2cc49a05kee38dd611e0732e9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-02-03 4:51 ` Michael Kerrisk
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2010-02-03 4:51 UTC (permalink / raw)
To: Denis Barbier; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-03 4:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).