#include #include "syscall.h" int sched_getscheduler(pid_t pid) { return syscall(SYS_sched_getscheduler, pid); }