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 04/10] Fix prototypes for [sg]etpriority()
Date: Thu, 08 May 2014 11:44:11 +0200 [thread overview]
Message-ID: <536B51EB.3020201@gmail.com> (raw)
In-Reply-To: <1398886962-10633-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
On 04/30/2014 09:42 PM, Rasmus Villemoes wrote:
> The who argument has type id_t (which happens to be u32 on linux).
Looks like there was a change between glibc 2.1 and 2.2.
Applied!
Thanks,
Michael
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
> man2/getpriority.2 | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/man2/getpriority.2 b/man2/getpriority.2
> index a448a0f..daedf4c 100644
> --- a/man2/getpriority.2
> +++ b/man2/getpriority.2
> @@ -53,9 +53,9 @@ getpriority, setpriority \- get/set program scheduling priority
> .br
> .B #include <sys/resource.h>
> .sp
> -.BI "int getpriority(int " which ", int " who );
> +.BI "int getpriority(int " which ", id_t " who );
> .br
> -.BI "int setpriority(int " which ", int " who ", int " prio );
> +.BI "int setpriority(int " which ", id_t " who ", int " prio );
> .SH DESCRIPTION
> The scheduling priority of the process, process group, or user, as
> indicated by
>
--
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) [this message]
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)
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=536B51EB.3020201@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.