shithub: scc

ref: bbef0f7405b510a0913d209bf77f647280d9184a
dir: /lib/c/ferror.c/

View raw version

#include <stdio.h>
#undef ferror

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