shithub: riscv

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

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