shithub: riscv

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

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