about summary refs log tree commit diff
path: root/src/sched/sched_getparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sched/sched_getparam.c')
-rw-r--r--src/sched/sched_getparam.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sched/sched_getparam.c b/src/sched/sched_getparam.c
new file mode 100644
index 00000000..65be1075
--- /dev/null
+++ b/src/sched/sched_getparam.c
@@ -0,0 +1,7 @@
+#include <sched.h>
+#include "syscall.h"
+
+int sched_getparam(pid_t pid, struct sched_param *param)
+{
+	return syscall(SYS_sched_getparam, pid, param);
+}