sched_get_priority_max.c raw

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