shithub: scc

ref: 7315d856a1485f20691652cc9b2e4165d8095cc4
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>

#undef ferror

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