From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 05/10] Fix prototype for sched_setaffinity()
Date: Thu, 08 May 2014 11:44:06 +0200 [thread overview]
Message-ID: <536B51E6.4030201@gmail.com> (raw)
In-Reply-To: <1398886962-10633-6-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
On 04/30/2014 09:42 PM, Rasmus Villemoes wrote:
> The mask argument is const.
Applied!
Thanks,
Michael
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
> man2/sched_setaffinity.2 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man2/sched_setaffinity.2 b/man2/sched_setaffinity.2
> index 4078b88..b77f5b6 100644
> --- a/man2/sched_setaffinity.2
> +++ b/man2/sched_setaffinity.2
> @@ -41,7 +41,7 @@ set and get a thread's CPU affinity mask
> .B #include <sched.h>
> .sp
> .BI "int sched_setaffinity(pid_t " pid ", size_t " cpusetsize ,
> -.BI " cpu_set_t *" mask );
> +.BI " const cpu_set_t *" mask );
> .sp
> .BI "int sched_getaffinity(pid_t " pid ", size_t " cpusetsize ,
> .BI " cpu_set_t *" mask );
>
--
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
next prev parent reply other threads:[~2014-05-08 9:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 19:42 [PATCH 00/10] Fix various inconsistencies Rasmus Villemoes
[not found] ` <1398886962-10633-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-04-30 19:42 ` [PATCH 01/10] Fix return type of readlinkat() Rasmus Villemoes
[not found] ` <1398886962-10633-2-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:43 ` Michael Kerrisk (man-pages)
2014-04-30 19:42 ` [PATCH 02/10] Fix prototype for stime() Rasmus Villemoes
[not found] ` <1398886962-10633-3-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:43 ` Michael Kerrisk (man-pages)
2014-04-30 19:42 ` [PATCH 03/10] Fix prototypes for semop() and semtimedop() Rasmus Villemoes
[not found] ` <1398886962-10633-4-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:44 ` Michael Kerrisk (man-pages)
2014-04-30 19:42 ` [PATCH 04/10] Fix prototypes for [sg]etpriority() Rasmus Villemoes
[not found] ` <1398886962-10633-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:44 ` Michael Kerrisk (man-pages)
2014-04-30 19:42 ` [PATCH 05/10] Fix prototype for sched_setaffinity() Rasmus Villemoes
[not found] ` <1398886962-10633-6-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:44 ` Michael Kerrisk (man-pages) [this message]
2014-04-30 19:42 ` [PATCH 06/10] Add <sys/types.h> to synopsis of get_robust_list() Rasmus Villemoes
[not found] ` <1398886962-10633-7-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:44 ` Michael Kerrisk (man-pages)
2014-04-30 19:42 ` [PATCH 07/10] Fix prototype for mbind(2) Rasmus Villemoes
[not found] ` <1398886962-10633-8-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:44 ` Michael Kerrisk (man-pages)
2014-04-30 19:42 ` [PATCH 08/10] Add <signal.h> to synopsis for ppoll() Rasmus Villemoes
[not found] ` <1398886962-10633-9-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:44 ` Michael Kerrisk (man-pages)
2014-04-30 19:42 ` [PATCH 09/10] Fix prototype for set_mempolicy(2) Rasmus Villemoes
[not found] ` <1398886962-10633-10-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:44 ` Michael Kerrisk (man-pages)
2014-04-30 19:42 ` [PATCH 10/10] Fix prototype for syscall(2) Rasmus Villemoes
[not found] ` <1398886962-10633-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-08 9:44 ` Michael Kerrisk (man-pages)
2014-05-08 9:43 ` [PATCH 00/10] Fix various inconsistencies 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=536B51E6.4030201@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@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.