Re: [PATCH 04/10] Fix prototypes for [sg]etpriority()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux