shithub: riscv

ref: cb2103879e7e1cb869ed1eb8455c468a756e7ef0
dir: /sys/src/libstdio/ferror.c/

View raw version
/*
 * pANS stdio -- ferror
 */
#include "iolib.h"
int ferror(FILE *f){
	return f->state==ERR;
}