shithub: scc

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

View raw version
#include <stdio.h>

#undef ferror

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