shithub: scc

ref: dafc7b4128023928611008473fd07e0ab7a0bbd8
dir: /lib/c/ferror.c/

View raw version

#include <stdio.h>
#undef ferror

int
ferror(FILE *fp)
{
	return fp->flags & _IOERR;
}