LibC: Implement _Exit

This just calls _exit as POSIX says they can be equivalent
This commit is contained in:
Bananymous 2024-11-08 02:52:12 +02:00
parent 92862fdf39
commit 12bc7480e0
1 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,11 @@ void exit(int status)
ASSERT_NOT_REACHED(); ASSERT_NOT_REACHED();
} }
void _Exit(int status)
{
_exit(status);
}
int abs(int val) int abs(int val)
{ {
return val < 0 ? -val : val; return val < 0 ? -val : val;