summaryrefslogtreecommitdiff
path: root/src/libc/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libc/compat.c')
-rw-r--r--src/libc/compat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libc/compat.c b/src/libc/compat.c
index c7aab63..459a0aa 100644
--- a/src/libc/compat.c
+++ b/src/libc/compat.c
@@ -17,7 +17,6 @@ long c0_fs_respond(void *buf, long ret, int flags) {
return ret;
}
-/* old syscall */
long _sys_await(void) {
struct sys_wait2 res;
if (_sys_wait2(-1, 0, &res) < 0) {
@@ -25,3 +24,7 @@ long _sys_await(void) {
}
return res.status;
}
+
+void _sys_filicide(void) {
+ _sys_intr("kill", 4);
+}