mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-21 02:28:57 +00:00
Kernel+LibC: Share definitions for sched.h
This commit is contained in:
21
Kernel/API/POSIX/sched.h
Normal file
21
Kernel/API/POSIX/sched.h
Normal file
@@ -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
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <Kernel/API/POSIX/net/route.h>
|
||||
#include <Kernel/API/POSIX/netinet/in.h>
|
||||
#include <Kernel/API/POSIX/poll.h>
|
||||
#include <Kernel/API/POSIX/sched.h>
|
||||
#include <Kernel/API/POSIX/serenity.h>
|
||||
#include <Kernel/API/POSIX/signal.h>
|
||||
#include <Kernel/API/POSIX/stdio.h>
|
||||
@@ -48,10 +49,6 @@ typedef u8 __u8;
|
||||
typedef int __s32;
|
||||
typedef short __s16;
|
||||
|
||||
struct sched_param {
|
||||
int sched_priority;
|
||||
};
|
||||
|
||||
#define ST_RDONLY 0x1
|
||||
#define ST_NOSUID 0x2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user