projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ABI compatability aliases.
[musl]
/
src
/
sched
/
sched_getscheduler.c
diff --git
a/src/sched/sched_getscheduler.c
b/src/sched/sched_getscheduler.c
index
4c922f6
..
394e508
100644
(file)
--- a/
src/sched/sched_getscheduler.c
+++ b/
src/sched/sched_getscheduler.c
@@
-1,7
+1,8
@@
#include <sched.h>
#include <sched.h>
+#include <errno.h>
#include "syscall.h"
int sched_getscheduler(pid_t pid)
{
#include "syscall.h"
int sched_getscheduler(pid_t pid)
{
- return
syscall(SYS_sched_getscheduler, pid
);
+ return
__syscall_ret(-ENOSYS
);
}
}