mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
14 lines
226 B
C
14 lines
226 B
C
#include <stdlib.h>
|
|
#include <syscall.h>
|
|
|
|
// Exits without cleaning up
|
|
void _Exit(int status) { _exit(status); }
|
|
|
|
void exit(int status) {
|
|
// TODO: Close open files
|
|
// TODO: Free malloced buffers
|
|
|
|
_Exit(status);
|
|
}
|
|
|