shithub: scc

ref: 68111eb68c383a0a0166b452ba5b4e7c50afb5a0
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>

#undef ferror

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