aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/stdlib.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-11-23 13:58:37 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-11-23 13:58:37 -0500
commit8700224e98f95807d896d214380796e6f80678d0 (patch)
treefa5d6e195d2a6533df7cf338a36e4a6d2d4cf08c /src/stdlib/stdlib.c
parent80505a7eb147422226d1b86da17f516982d0f4c8 (diff)
use exit() instead of _exit()
Diffstat (limited to 'src/stdlib/stdlib.c')
-rw-r--r--src/stdlib/stdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/stdlib.c b/src/stdlib/stdlib.c
index 45a4bd00..157dbfd4 100644
--- a/src/stdlib/stdlib.c
+++ b/src/stdlib/stdlib.c
@@ -145,7 +145,7 @@ void say(Text_t text, bool newline) {
public
_Noreturn void tomo_exit(Text_t text, int32_t status) {
if (text.length > 0) print(text);
- _exit(status);
+ exit(status);
}
public