shithub: riscv

ref: 4aee2b803e7f566f6ec1796fc45bfe0023d3762a
dir: /sys/src/libstdio/ferror.c/

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