shithub: riscv

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

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