shithub: riscv

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

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