shithub: riscv

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

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