shithub: scc

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