OSDN Git Service

LDP: Update original to LDP v3.67
[linuxjm/LDP_man-pages.git] / original / man2 / getpriority.2
index f844524..29e65d1 100644 (file)
@@ -45,7 +45,7 @@
 .\" 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
@@ -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
@@ -182,7 +182,7 @@ The details on the condition for
 .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).
@@ -233,15 +233,17 @@ which may be made standards conformant in the future.
 .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/.