NICE(2) HP Integral PC NICE(2) NICE(2) HP Integral PC NICE(2) NICE(2) HP Integral PC NICE(2) NICE(2) HP Integral PC NICE(2) NAME NAME NAME NAME nice - change priority of a process SYNOPSIS SYNOPSIS SYNOPSIS SYNOPSIS int nice (incr) int incr; DESCRIPTION DESCRIPTION DESCRIPTION DESCRIPTION Nice adds the value of incr to the nice value of the calling process. A process's nice value is a positive number for which a more positive value results in lower CPU priority. A maximum nice value of 39 and a minimum nice value of 0 are imposed by the system. Requests for values above or below these limits result in the nice value being set to the corresponding limit. RETURN VALUE RETURN VALUE RETURN VALUE RETURN VALUE Upon successful completion, nice returns the new nice value minus 20. Otherwise, a value of -1 is returned and errno is set to indicate the error. SEE ALSO SEE ALSO SEE ALSO SEE ALSO nice(1), exec(2). Hewlett-Packard - 1 - (printed 12/12/84)