shithub: scc

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

View raw version
#include <stdio.h>
#undef ferror

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