shithub: riscv

ref: 382c9ef92cf0830f5639906ffd5f363ecefd670a
dir: /sys/src/libstdio/ferror.c/

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