You'll want PRIO_PROCESS (which is 0) for the first argument, 0 (which means the current whatever, whatever being the current process, group, or user) for the second, then the priority for the third.man setpriority
I suspect there must be some good way of getting at these constants, but I'm not quite sure how.
In reply to Re: renice
by btrott
in thread renice
by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |