std.c: Don't use `EXIT_SUCCESS`/`EXIT_FAILURE` as function return values
commit41e861fff24a8e5ba3f52cf3747915ac8d18079f
authorØyvind A. Holm <sunny@sunbase.org>
Wed, 9 Oct 2024 06:08:52 +0000 (9 08:08 +0200)
committerØyvind A. Holm <sunny@sunbase.org>
Wed, 9 Oct 2024 06:08:52 +0000 (9 08:08 +0200)
tree4412df7e3a855ea285d1919bcf7a5654c5b1bfc1
parent0b4e45de515435779913ff1e1990a6d75c856ba9
std.c: Don't use `EXIT_SUCCESS`/`EXIT_FAILURE` as function return values

It's generally considered bad practice to use `EXIT_SUCCESS` and
`EXIT_FAILURE` for return values unrelated to program exit codes.
Instead, use 0 for success and 1 for error.

6c3caa52-8606-11ef-a080-83850402c3ce
Lib/std/c/src/std.c