shithub: scc

ref: 4b60622e5ebcec0579c17269c4f4257d3fff9c46
dir: /lib/c/ferror.c/

View raw version

#include <stdio.h>
#undef ferror

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