shithub: scc

ref: 46304892ba34a7e74a604095bf375207d39e33f9
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>

#undef ferror

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