shithub: riscv

ref: 5149f204b78b7969c0cb865ff376fc21a2c50297
dir: /sys/src/libstdio/ferror.c/

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