shithub: scc

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

View raw version
#include <stdio.h>

#undef ferror

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