summaryrefslogtreecommitdiff
path: root/src/user/knob/quit.c
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2020-09-13 22:06:40 -0400
committerBenji Dial <benji6283@gmail.com>2020-09-13 22:06:40 -0400
commit44d29a33df81ac07163d5146a9e43a0c4fb80af0 (patch)
tree94d4fb506a80d73cb53dc9ea66dfc952d7a9432a /src/user/knob/quit.c
parent143156f63e2448733f1a35a74e629fe0ae9bb567 (diff)
downloadportland-os-44d29a33df81ac07163d5146a9e43a0c4fb80af0.tar.gz
new shell
Diffstat (limited to 'src/user/knob/quit.c')
-rw-r--r--src/user/knob/quit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user/knob/quit.c b/src/user/knob/quit.c
index 7c20bdd..98881b7 100644
--- a/src/user/knob/quit.c
+++ b/src/user/knob/quit.c
@@ -1,6 +1,8 @@
#include <pland/syscall.h>
+#include <knob/file.h>
__attribute__ ((noreturn))
void quit() {
+ _close_all_files();
_exit_task();
} \ No newline at end of file