]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getpriority.2: The nice value supplied to setpriority() is clamped
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 27 Nov 2016 14:55:51 +0000 (15:55 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 29 Nov 2016 20:50:15 +0000 (21:50 +0100)
Note that the nice value supplied to setpriority() is clamped
to the permitted range.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/getpriority.2

index 4a1ff91a9d6ca95ef29eeef7d36051c65a8e6a3a..9acd5df88f5bb944e6ed389038d9670a68d25227 100644 (file)
@@ -93,8 +93,8 @@ calling process, or the real user ID of the calling process.
 
 The
 .I prio
-argument is a value in the range \-20 to +19,
-with \-20 being the highest priority and +19 being the lowest priority.
+argument is a value in the range \-20 to 19 (but see NOTES below).
+with \-20 being the highest priority and 19 being the lowest priority.
 Attempts to set a priority outside this range
 are silently clamped to the range.
 The default priority is 0;