shithub: riscv

ref: afe3c1c89a9ead7459691e9bf0d4e28f232bb929
dir: /sys/src/libstdio/ferror.c/

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