summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-14 19:40:40 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-14 19:58:11 +0200
commitdfd78b75d83dc5ffaff3353eb5f2438c4ef7d6f9 (patch)
treee4af3eba1243fdcdc2a40f651adb285ca4956cea /Kernel/API
parentc9a5d83ccc278ba144431da9d75ab3ea6d50ef0c (diff)
downloadserenity-dfd78b75d83dc5ffaff3353eb5f2438c4ef7d6f9.zip
Kernel+LibC: Share definitions for sched.h
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/POSIX/sched.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/Kernel/API/POSIX/sched.h b/Kernel/API/POSIX/sched.h
new file mode 100644
index 0000000000..77dff7fe60
--- /dev/null
+++ b/Kernel/API/POSIX/sched.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2018-2021, Andreas Kling <kling@serenityos.org>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#pragma once
+
+#include <Kernel/API/POSIX/sys/types.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct sched_param {
+ int sched_priority;
+};
+
+#ifdef __cplusplus
+}
+#endif