shithub: scc

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

View raw version
#include <stdio.h>

#undef ferror

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