mirror of https://github.com/mkerrisk/man-pages
nice.2: Clarify the range of the nice value, and note that it is clamped
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
26ea000d10
commit
4d9db1bd57
|
@ -53,8 +53,9 @@ to the nice value for the calling process.
|
|||
(A higher nice value means a low priority.)
|
||||
Only the super\%user may specify a negative increment,
|
||||
or priority increase.
|
||||
The range for nice values is described in
|
||||
.BR getpriority (2).
|
||||
|
||||
The range of the nice value is +19 (low priority) to \-20 (high priority).
|
||||
Attempts to set a nice value outside the range are clamped to the range.
|
||||
.SH RETURN VALUE
|
||||
On success, the new nice value is returned (but see NOTES below).
|
||||
On error, \-1 is returned, and
|
||||
|
|
Loading…
Reference in New Issue