From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: [PATCH 04/10] Fix prototypes for [sg]etpriority() Date: Thu, 08 May 2014 11:44:11 +0200 Message-ID: <536B51EB.3020201@gmail.com> References: <1398886962-10633-1-git-send-email-rv@rasmusvillemoes.dk> <1398886962-10633-5-git-send-email-rv@rasmusvillemoes.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398886962-10633-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org> Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rasmus Villemoes Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.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 > --- > 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 > .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