V4/man/man2/nice.2

Compare this file to the similar file:
Show the results in this format:

.th NICE II 8/5/73
.sh NAME
nice \*- set program priority
.sh SYNOPSIS
(nice = 34.)
.br
(priority in r0)
.br
.ft B
sys nice
.s3
nice(priority)
.ft R
.sh DESCRIPTION
The scheduling
.it priority
of the process
is changed to the argument.
Positive priorities
get less service than normal;
0 is default.
Only the super-user may specify a negative priority.
The valid range of
.it priority
is 20 to \*-220.
The value of 16 is recommended to users
who wish to execute long-running programs
without flak from the administration.
.s3
The effect of this call is
passed to a child process by the
.it fork
system call.
The effect can be cancelled by
another call to
.it nice
with a
.it priority
of 0.
.sh "SEE ALSO"
nice(I)
.sh DIAGNOSTICS
The error bit
(c-bit)
is set if the user requests a
.it priority
outside the range of 0 to 20
and is not the super-user.