shithub: riscv

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

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