about summary refs log tree commit diff
path: root/src/signal/raise.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/signal/raise.c')
-rw-r--r--src/signal/raise.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/signal/raise.c b/src/signal/raise.c
new file mode 100644
index 00000000..52f8b428
--- /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);
+}