Reference: setpriority
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:37:47Z

#

| Chapter 5 Function Reference |

## setpriority

    setpriority which, who, priority

Sets the current priority for a process, a process group, or a user. which must indicate one of these types: `PRIO_PROCESS`, `PRIO_PGRP`, or `PRIO_USER`. who therefore identifies the specific process, process group, or user with its ID. priority is an integer number that will be added to or subtracted from the current priority; the lower the number, the higher the priority. The interpretation of a given priority may vary from one operating system to the next. See `setpriority` on your system. Invoking `setpriority` will produce a fatal error if used on a machine that doesn't implement `setpriority`.

Reference: setpgrp |  | Reference: setprotoent