]> 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>
Sun, 27 Nov 2016 17:57:41 +0000 (18:57 +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 e16c2bffc553fa5953929dff848dbd98135367cc..8a691a799088f41afd119edd0cee6abff0d8ebce 100644 (file)
@@ -95,6 +95,8 @@ The
 .I prio
 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;
 lower values give a process a higher scheduling priority.