ref: 48b05725f5d67734a60efbb2676051af15f1c647 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"; }