ref: 99605c45f8a60733579b474e7491314442a60843 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"; }