about summary refs log tree commit diff
path: root/src/sched/sched_getscheduler.c
blob: 4c922f695fd3b2287193edad844cf7fbc2bc1fcc (plain) (blame)
1
2
3
4
5
6
7
#include <sched.h>
#include "syscall.h"

int sched_getscheduler(pid_t pid)
{
	return syscall(SYS_sched_getscheduler, pid);
}