shithub: riscv

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

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