NICE(2)

NAME
nice - change process priority.

SYNOPSIS
#include <unistd.h>
int nice (int inc);

DESCRIPTION
nice() adds inc to the priority for the calling pid. Note that only the superuser may specify a negative increment, or priority increase. Note that internally, a higher number is a higher priority. Do not confuse this with the priority scheme as used by the nice() interface.

0 is returned on success, a negative value on error.

ERRORS
-EPERM is returned if the non-super user attempts to do a priority increase, a numerical decrease, by supplying a negative inc

FILES
linux/kernel/sched.c
/usr/include/linux/sys.h
/usr/include/unistd.h