Table of Contentsnice - change process priority #include <unistd.h> int nice(int inc);
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. On success, zero is returned. On error, -1 is returned, and errno is set appropriately. - EPERM
- A non-super user attempts to do a priority increase, a numerical decrease, by supplying a negative inc.
SVID EXT, AT&T, X/OPEN, BSD 4.3 nice(1), setpriority(2), fork(2), renice(8)
Table of Contents
www.fiveanddime.net