summaryrefslogtreecommitdiff
path: root/src/sched/sched_get_priority_max.c
blob: 30ae5100e1de4e5f863f16c131279851be3fbca5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <sched.h>
#include "syscall.h"

int sched_get_priority_max(int policy)
{
	return syscall(SYS_sched_get_priority_max, policy);
}

int sched_get_priority_min(int policy)
{
	return syscall(SYS_sched_get_priority_min, policy);
}