summaryrefslogtreecommitdiff
path: root/src/sched/sched_get_priority_max.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-03 23:18:26 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-03 23:18:26 -0400
commit61be1cfec1f5da66c68f92a6939e3a38e673c9d6 (patch)
tree5d1221bd675bf7e33c6b53b5e974bd2bf1983756 /src/sched/sched_get_priority_max.c
parentb959d04644d99f27d9f10344e76c079a12bc1ffd (diff)
downloadmusl-61be1cfec1f5da66c68f92a6939e3a38e673c9d6.tar.gz
implement stub versions of sched_*
these actually work, but for now they prohibit actually setting priority levels and report min/max priority as 0.
Diffstat (limited to 'src/sched/sched_get_priority_max.c')
-rw-r--r--src/sched/sched_get_priority_max.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sched/sched_get_priority_max.c b/src/sched/sched_get_priority_max.c
new file mode 100644
index 00000000..64cbca93
--- /dev/null
+++ b/src/sched/sched_get_priority_max.c
@@ -0,0 +1,11 @@
+#include <sched.h>
+
+int sched_get_priority_max(int policy)
+{
+ return 0;
+}
+
+int sched_get_priority_min(int policy)
+{
+ return 0;
+}