shithub: riscv

ref: 3bbff3ee20de3f6ccbfd543a311ecb24f2eb8729
dir: /sys/src/libstdio/ferror.c/

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