shithub: scc

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

View raw version
#include <stdio.h>

#undef ferror

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