shithub: riscv

ref: 0e516cbf488a9ec8edae3dc6efca2baa0c3d95bd
dir: /sys/src/libstdio/ferror.c/

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