shithub: scc

ref: 079e6ba6e4a218a64d593894050f546ca5cd3d34
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>

#undef ferror

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