shithub: riscv

ref: 6aa7ebcf495bff8f6a4c7ebcac28058bd0b06aae
dir: /sys/src/libstdio/ferror.c/

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