ref: 8b6a2d7d21c67db8b1fbc4eaabf3496bcc07941d 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"; }