shithub: scc

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