ref: ff68f635591d2e924681d45c8b1485ef02dc442f dir: /lib/c/strerror.c/
#include <errno.h> #include <string.h> #undef strerror char * strerror(int errnum) { if (errnum < _sys_nerr) return _sys_errlist[errnum]; else return "Unknown error"; }