shithub: scc

ref: 9ffa78545045faaed23195ef00d8cee0f1bf1db6
dir: /src/libc/string/strerror.c/

View raw version
#include <errno.h>
#include <string.h>
#undef strerror

char *
strerror(int errnum)
{
	if (errnum > _sys_nerr)
		errnum = EUNKNOWN;
	return _sys_errlist[errnum];
}