ref: 90587cbec9a3ffba0aee86c7be5503447f711f6e 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"; }