shithub: scc

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

View raw version

#include <stdio.h>
#undef ferror

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