shithub: scc

ref: 6c1eac285301e17024452e18e95e882ed758f3b0
dir: /src/libc/stdio/ferror.c/

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

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