diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-11-23 13:58:37 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-11-23 13:58:37 -0500 |
| commit | 8700224e98f95807d896d214380796e6f80678d0 (patch) | |
| tree | fa5d6e195d2a6533df7cf338a36e4a6d2d4cf08c /src/stdlib/stdlib.h | |
| parent | 80505a7eb147422226d1b86da17f516982d0f4c8 (diff) | |
use exit() instead of _exit()
Diffstat (limited to 'src/stdlib/stdlib.h')
| -rw-r--r-- | src/stdlib/stdlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdlib/stdlib.h b/src/stdlib/stdlib.h index e52b5cd1..aadce27c 100644 --- a/src/stdlib/stdlib.h +++ b/src/stdlib/stdlib.h @@ -30,7 +30,7 @@ void tomo_init(void); else fputs("\n", stderr); \ fflush(stderr); \ raise(SIGABRT); \ - _exit(1); \ + exit(1); \ }) #define fail_source(filename, start, end, ...) \ @@ -50,7 +50,7 @@ void tomo_init(void); if (USE_COLOR) fputs("\x1b[m", stderr); \ fflush(stderr); \ raise(SIGABRT); \ - _exit(1); \ + exit(1); \ }) _Noreturn void fail_text(Text_t message); |
