shithub: riscv

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

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