shithub: scc

ref: 08608702436b819d3022aceb2b870e3284228810
dir: /lib/c/ferror.c/

View raw version

#include <stdio.h>
#undef ferror

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