summaryrefslogtreecommitdiff
path: root/src/sched/struct_sched_param.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-20 12:00:12 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-20 12:00:12 -0500
commit52b8c93b7180eac72721d59315aae2b592e7b3a1 (patch)
treed304c2e253c56ca39df04e5d346309f08f67c445 /src/sched/struct_sched_param.c
parent49836ed4fa13e431fdbb52e418499853df8693c6 (diff)
add symbols from POSIX.1b-1993
Diffstat (limited to 'src/sched/struct_sched_param.c')
-rw-r--r--src/sched/struct_sched_param.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sched/struct_sched_param.c b/src/sched/struct_sched_param.c
new file mode 100644
index 00000000..1ef5bf55
--- /dev/null
+++ b/src/sched/struct_sched_param.c
@@ -0,0 +1,15 @@
+#include <sched.h>
+
+struct sched_param {
+ int sched_priority;
+ #if defined _POSIX_SS || defined _POSIX_TSP
+ int sched_ss_low_priority;
+ struct timespec sched_ss_repl_period;
+ struct timespec sched_ss_init_budget;
+ int sched_ss_max_repl;
+ #endif
+};
+
+/*
+POSIX(199309)
+*/