shithub: scc

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

View raw version

#include <stdio.h>
#undef ferror

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