projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement stub versions of sched_*
[musl]
/
src
/
sched
/
sched_rr_get_interval.c
diff --git a/src/sched/sched_rr_get_interval.c
b/src/sched/sched_rr_get_interval.c
new file mode 100644
(file)
index 0000000..
43bc490
--- /dev/null
+++ b/
src/sched/sched_rr_get_interval.c
@@ -0,0
+1,8
@@
+#include <sched.h>
+#include "syscall.h"
+
+int sched_rr_get_interval(pid_t pid, struct timespec *ts)
+{
+ return syscall(SYS_sched_rr_get_interval, pid, ts);
+}
+