shithub: scc

ref: 8b3b797a2474a56c72f4c0f190910aeb320943be
dir: /src/libc/stdio/ferror.c/

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

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