shithub: riscv

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

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