shithub: scc

ref: 071923624122ae0088073ca68a8dfc65c14c0c7d
dir: /lib/c/ferror.c/

View raw version

#include <stdio.h>
#undef ferror

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