shithub: riscv

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

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