summaryrefslogblamecommitdiff
path: root/src/sched/sched_setparam.c
blob: 07d61aea98ad8371b64a27b931a37cc1471ed423 (plain) (tree)
1
2
3
4
5
6
7
8







                                                              
#include <sched.h>
#include "syscall.h"

int sched_setparam(pid_t pid, const struct sched_param *param)
{
	static const struct sched_param def;
	return syscall(SYS_sched_setparam, pid, &def);
}