shithub: riscv

ref: 5347bb9c96c79296e6b520014d2ed2a5ee0a718d
dir: /sys/src/libstdio/ferror.c/

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