aboutsummaryrefslogtreecommitdiffstats
path: root/tests/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kill.c')
-rw-r--r--tests/kill.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/kill.c b/tests/kill.c
new file mode 100644
index 0000000..67e8e24
--- /dev/null
+++ b/tests/kill.c
@@ -0,0 +1,8 @@
+#include <signal.h>
+#include <unistd.h>
+
+int
+main(void)
+{
+ return kill(getpid(), SIGKILL);
+}