2 #include <sys/syscall.h>
4 #ifdef __NR_sched_rr_get_interval
13 struct timespec *const tp = tail_alloc(sizeof(struct timespec));
14 long rc = syscall(__NR_sched_rr_get_interval, -1, tp);
15 printf("sched_rr_get_interval(-1, %p) = %ld %s (%m)\n",
16 tp, rc, errno2name());
18 puts("+++ exited with 0 +++");
24 SKIP_MAIN_UNDEFINED("__NR_sched_rr_get_interval")