shithub: riscv

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

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