getrlimit.2: Describe the range of the RLIMIT_NICE limit

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-12-05 08:10:29 +01:00
parent b5bde13cbc
commit d17de8336c
1 changed files with 3 additions and 0 deletions

View File

@ -293,6 +293,9 @@ or
.BR nice (2).
The actual ceiling for the nice value is calculated as
.IR "20\ \-\ rlim_cur" .
The useful range for this limit is thus from 1
(corresponding to a nice value of 19) to 40
(corresponding to a nice value of -20).
(This strangeness occurs because negative numbers cannot be specified
as resource limit values, since they typically have special meanings.
For example,