shithub: riscv

ref: 1c4c82277ea368739af6a4666ae530bbcfae71cb
dir: /sys/src/libstdio/ferror.c/

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