mirror of https://github.com/mkerrisk/man-pages
getpriority.2: Fix prototypes for getpriority() and setpriority()
The who argument has type id_t (which happens to be u32 on linux). Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4a60035c89
commit
9f9bbc5aa3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue