shithub: scc

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

View raw version
#include <stdio.h>

#undef ferror

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