[Next] [Up] [Previous]
Next: GetPriority Up: Functions and procedures Previous: Fork

Nice

   

Declaration:

Procedure Nice ( N : Integer) ;

Description:

Nice adds -N to the priority of the running process. The lower the priority numerically, the less the process is favored.

Only the superuser can specify a negative N, i.e. increase the rate at which the process is run.

Errors:

Errors are returned in LinuxError

sys_eperm
A non-superuser tried to specify a negative N, i.e. do a priority increase.

See also:

GetPriority, SetPriority, Nice(2)



Michael Van Canneyt
Thu Dec 12 15:40:07 MET 1996