ref: 4d90e3d1507444cb0edb5a53ccefa3b1d958abae 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]; }