From 12bc7480e0b1ab5bef9b67fc2353d5e49bc587f6 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Fri, 8 Nov 2024 02:52:12 +0200 Subject: [PATCH] LibC: Implement _Exit This just calls _exit as POSIX says they can be equivalent --- userspace/libraries/LibC/stdlib.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/userspace/libraries/LibC/stdlib.cpp b/userspace/libraries/LibC/stdlib.cpp index 5c336671..0e42aead 100644 --- a/userspace/libraries/LibC/stdlib.cpp +++ b/userspace/libraries/LibC/stdlib.cpp @@ -43,6 +43,11 @@ void exit(int status) ASSERT_NOT_REACHED(); } +void _Exit(int status) +{ + _exit(status); +} + int abs(int val) { return val < 0 ? -val : val;