shithub: riscv

ref: 2e9835e771c54cb9a0c9cd81012e7b4b75f878f7
dir: /sys/src/libstdio/ferror.c/

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