summaryrefslogtreecommitdiff
path: root/src/sched/sched_setscheduler.c
blob: acf5dc254625fd53597b5f3650cd612993acc48d (plain) (blame)
1
2
3
4
5
6
7
8
#include <sched.h>
#include "syscall.h"

int sched_setscheduler(pid_t pid, int sched, const struct sched_param *param)
{
	static const struct sched_param def;
	return syscall(SYS_sched_setscheduler, pid, sched, &def);
}