shithub: riscv

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

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