Feat: POSIX signal
This commit is contained in:
11
kernel/include/signal.h
Normal file
11
kernel/include/signal.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#define SIGNAL_NUM 32
|
||||
|
||||
#define SIGKILL 9
|
||||
|
||||
typedef void (*signal_handler_t)();
|
||||
|
||||
void run_signal(int32_t SIGNAL);
|
||||
Reference in New Issue
Block a user