shithub: scc

ref: 079f3c6e917203d8d5a2043182927231c60ea231
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>

#undef ferror

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