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 1dc3d91d7b
commit 40fcb004f0
1 changed files with 2 additions and 2 deletions

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