shithub: scc

ref: d6034b82c42601b229eb6e82fa927ec523e2af7b
dir: /src/libc/stdio/ferror.c/

View raw version
#include <stdio.h>

#undef ferror

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