shithub: scc

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

View raw version
#include <stdio.h>

#undef ferror

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