mirror of https://github.com/mkerrisk/man-pages
getpriority.2: Move text describing nice range on other systems
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
361ec6881d
commit
95591ecace
|
@ -196,6 +196,8 @@ manner as Linux 2.6.12 and later.
|
|||
The actual priority range varies between kernel versions.
|
||||
Linux before 1.3.36 had \-infinity..15.
|
||||
Since kernel 1.3.43, Linux has the range \-20..19.
|
||||
On some other systems, the range of nice values is \-20..20.
|
||||
|
||||
Within the kernel, nice values are actually represented
|
||||
using the corresponding range 40..1
|
||||
(since negative numbers are error codes) and these are the values
|
||||
|
@ -209,8 +211,6 @@ translations between the user-land and kernel representations
|
|||
of the nice value according to the formula
|
||||
.IR "unice\ =\ 20\ \-\ knice" .
|
||||
.LP
|
||||
On some systems, the range of nice values is \-20..20.
|
||||
.LP
|
||||
Including
|
||||
.I <sys/time.h>
|
||||
is not required these days, but increases portability.
|
||||
|
|
Loading…
Reference in New Issue