shithub: riscv

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

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