shithub: riscv

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

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