shithub: scc

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

View raw version

#include <stdio.h>
#undef ferror

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