root@gg-armhf:~# cat test.c #include <stdio.h> #include <errno.h> #include <sched.h> int main() { struct timespec tp; errno = 0; int ret = sched_rr_get_interval(1, &tp); printf("ret == %d\n", ret); perror("error"); return 0; } root@gg-armhf:~# ./a.out ret == 0 error: Function not implemented root@gg-armhf:~#
root@gg-armhf:~# cat test.c get_interval( 1, &tp);
#include <stdio.h>
#include <errno.h>
#include <sched.h>
int main() {
struct timespec tp;
errno = 0;
int ret = sched_rr_
printf("ret == %d\n", ret);
perror("error");
return 0;
}
root@gg-armhf:~# ./a.out
ret == 0
error: Function not implemented
root@gg-armhf:~#