Go to the previous, next section.

nice

SYNOPSIS

int nice(int inc);

PARAMETERS

inc: [in] the increment.

DESCRIPTION

Adds inc to the priority of the calling task. Only a task with superuser privileges may specify a negative inc.

RETURN VALUE

On success, returns 0. On error, returns -1 and errno is set to one of the following values: EPERM: the task tried to decrease the priority value but does not have superuser privileges.

Go to the previous, next section.