shithub: scc

ref: 44acca3ccc9401ec42b10ea4f0d5fbb072faf874
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>

#undef ferror

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