shithub: riscv

ref: 9fbce3b1b4fba5b302aff49b6b769ecdcae59faa
dir: /sys/src/libstdio/ferror.c/

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