shithub: riscv

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

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