shithub: riscv

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

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