a hacky fucked up way to portably access errno from outside of c
Summary
This article presents a controversial approach to obtaining errno values from outside C by intercepting stderr, parsing the error output, and mapping strings back to errno codes. It discusses portability challenges across libc implementations (POSIX vs GNU strerror_r) and includes Hare code snippets and wrapper examples. It also explores making a portable POSIX target and the trade-offs involved.