shithub: scc

ref: 39efe97b2fff40d0e17fab3d0ddbc58778aca1eb
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>

#undef ferror

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