summaryrefslogtreecommitdiff
path: root/src/misc/setpriority.c
blob: 26da4b8380a965dfe8cd620dcd48e2a0186648c1 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/resource.h>
#include "syscall.h"

int setpriority(int which, id_t who, int prio)
{
	return syscall3(__NR_getpriority, which, who, prio);
}