ref: 8b3b797a2474a56c72f4c0f190910aeb320943be dir: /src/libc/string/strerror.c/
#include <errno.h> #include <string.h> #undef strerror char * strerror(int errnum) { if (errnum > _sys_nerr) errnum = EUNKNOWN; return _sys_errlist[errnum]; }