SETPRIORITY(3) Library Functions Manual SETPRIORITY(3)

setpriorityset the nice value

#include <sys/resource.h>

int setpriority(int which, id_t who, int nice);

Refer to getpriority(3) .

February 1997 posix.fail