shithub: scc

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

View raw version
#include <stdio.h>

#undef ferror

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