shithub: scc

ref: 1de26472868d15174ef01a9655555340234c4dbe
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>

#undef ferror

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