shithub: scc

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

View raw version

#include <stdio.h>
#undef ferror

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