shithub: scc

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