shithub: scc

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

View raw version
#include <stdio.h>

#undef ferror

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