mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-23 09:48:56 +00:00
LibC: Move SIG_* definitions for sigprocmask into bits/sighow.h
This commit is contained in:
parent
b7aba70a28
commit
77bec6b01d
Notes:
sideshowbarker
2024-07-18 05:33:08 +09:00
Author: https://github.com/boricj
Commit: 77bec6b01d
Pull-request: https://github.com/SerenityOS/serenity/pull/9392
2 changed files with 12 additions and 0 deletions
11
Userland/Libraries/LibC/bits/sighow.h
Normal file
11
Userland/Libraries/LibC/bits/sighow.h
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2021, the SerenityOS developers.
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#define SIG_BLOCK 0
|
||||||
|
#define SIG_UNBLOCK 1
|
||||||
|
#define SIG_SETMASK 2
|
|
@ -7,6 +7,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <Kernel/API/POSIX/signal.h>
|
#include <Kernel/API/POSIX/signal.h>
|
||||||
|
#include <bits/sighow.h>
|
||||||
#include <signal_numbers.h>
|
#include <signal_numbers.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue