std.c: Create `std_strerror()`, a predictable version of `strerror()`
commitc38fb539266e259c3143112719935183939f0a45
authorØyvind A. Holm <sunny@sunbase.org>
Tue, 29 Oct 2024 23:31:46 +0000 (30 00:31 +0100)
committerØyvind A. Holm <sunny@sunbase.org>
Tue, 29 Oct 2024 23:31:46 +0000 (30 00:31 +0100)
treeb47c0e28f01dec968bae1d2f5f0a9b6f60e4ed59
parent0af08af2a80197ebf9b0e8fba15759f31071e05c
std.c: Create `std_strerror()`, a predictable version of `strerror()`

There's a controversial new rule here now, that `make tlok` returns 2 as
the first number, i.e., untested lines as reported by `gcov`(1). But
it's necessary; if it ever reaches 0, there's an unregistered `errno`
value somewhere.

0809f53c-964e-11ef-82c2-83850402c3ce
Lib/std/c/src/Makefile.std-test
Lib/std/c/src/std.c