diff options
Diffstat (limited to 'src/signal/raise.c')
-rw-r--r-- | src/signal/raise.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/signal/raise.c b/src/signal/raise.c new file mode 100644 index 0000000..52f8b42 --- /dev/null +++ b/src/signal/raise.c @@ -0,0 +1,7 @@ +#include <signal.h> +#include "syscall.h" + +int raise(int sig) +{ + return __syscall_kill(__syscall_getpid(), sig); +} |