shithub: riscv

ref: 390abbd1c75992f497b7528b4ffaf6a37d6fee22
dir: /sys/src/libstdio/ferror.c/

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