avoid deprecated (by linux) alarm syscall; use setitimer instead
[musl] / src / sched / sched_rr_get_interval.c
1 #include <sched.h>
2 #include "syscall.h"
3
4 int sched_rr_get_interval(pid_t pid, struct timespec *ts)
5 {
6         return syscall(SYS_sched_rr_get_interval, pid, ts);
7 }
8