shithub: riscv

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

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