shithub: riscv

ref: 7367b8d2e75301fb33830404b66ded43bbd56356
dir: /sys/src/libstdio/ferror.c/

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