ref: 4ddb383f2b1ea7f017404f94e9e2683af3bcc43f dir: /src/libc/string/strerror.c/
#include <errno.h> #include <string.h> #undef strerror char * strerror(int errnum) { if (errnum > _sys_nerr) errnum = EUNKNOWN; return _sys_errlist[errnum]; }