ref: 30486c0e4349deef16a130294033825dfddae4ec 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]; }