ref: 50a8df0490d1af1d3350fb48b83d693fd3ae0e3a 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]; }