shithub: scc

ref: 53acc44c82ab004ac565970c3f8f4d80894ed761
dir: /lib/c/ferror.c/

View raw version

#include <stdio.h>
#undef ferror

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