shithub: riscv

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

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