shithub: riscv

ref: 59d978eeb6d9f987d2c2b17d2799f3c15655284f
dir: /sys/src/libstdio/ferror.c/

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