shithub: scc

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

View raw version

#include <stdio.h>
#undef ferror

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