getpriority.2: The nice value supplied to setpriority() is clamped

Note that the nice value supplied to setpriority() is clamped
to the permitted range.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-11-27 15:55:51 +01:00
parent f677bcfb6e
commit 26ea000d10
1 changed files with 2 additions and 0 deletions

View 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.