shithub: riscv

ref: 75d44bc306ffcbaadaa18c161bf54071304510b0
dir: /sys/src/libstdio/ferror.c/

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