shithub: riscv

ref: 675870f9b13501d8eea0c4e4339a951567021672
dir: /sys/src/libstdio/ferror.c/

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