shithub: scc

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

View raw version

#include <stdio.h>
#undef ferror

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