shithub: scc

ref: e96b586c7023078936c3a1b1081b9239288b9567
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>
#undef ferror

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