shithub: scc

ref: 4ddc2fb840920c55d77e82de40b9b666da96d2b3
dir: /lib/c/ferror.c/

View raw version

#include <stdio.h>
#undef ferror

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