Updated syscall.h

This commit is contained in:
2024-10-25 18:10:37 +02:00
parent 1efc7b7e7e
commit 57bfddc65e
4 changed files with 6 additions and 16 deletions
+1 -3
View File
@@ -2,9 +2,7 @@
#include <syscall.h>
// Exits without cleaning up
void _Exit(int status) {
syscall(SYS_EXIT, status, 0, 0);
}
void _Exit(int status) { _exit(status); }
void exit(int status) {
// TODO: Close open files