shithub: riscv

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

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