1 #include <sched.h> 2 #include "syscall.h" 3 sched_get_priority_max(int policy)4int sched_get_priority_max(int policy) 5 { 6 return syscall(SYS_sched_get_priority_max, policy); 7 } 8 sched_get_priority_min(int policy)9int sched_get_priority_min(int policy) 10 { 11 return syscall(SYS_sched_get_priority_min, policy); 12 } 13