.\" FIXME Oct 2008: Denys Vlasenko is working on a PRIO_THREAD feature that
.\" is likely to get included in mainline; this will need to be documented.
.\"
-.TH GETPRIORITY 2 2013-02-12 "Linux" "Linux Programmer's Manual"
+.TH GETPRIORITY 2 2014-05-10 "Linux" "Linux Programmer's Manual"
.SH NAME
getpriority, setpriority \- get/set program scheduling priority
.SH SYNOPSIS
.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
.B EPERM
depend on the system.
The above description is what POSIX.1-2001 says, and seems to be followed on
-all System V-like systems.
+all System\ V-like systems.
Linux kernels before 2.6.12 required the real or
effective user ID of the caller to match
the real user of the process \fIwho\fP (instead of its effective user ID).
.BR nice (1),
.BR renice (1),
.BR fork (2),
-.BR capabilities (7)
+.BR capabilities (7),
+.BR sched (7)
.I Documentation/scheduler/sched-nice-design.txt
in the Linux kernel source tree (since Linux 2.6.23)
.SH COLOPHON
-This page is part of release 3.64 of the Linux
+This page is part of release 3.67 of the Linux
.I man-pages
project.
A description of the project,
-and information about reporting bugs,
+information about reporting bugs,
+and the latest version of this page,
can be found at
\%http://www.kernel.org/doc/man\-pages/.