shithub: riscv

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

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