shithub: scc

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