shithub: riscv

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

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