shithub: riscv

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

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