sched_get_priority_max.c 234 B

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