shithub: riscv

ref: 8ab397c23c2fdbbe64d10f756bb4eb15aab54075
dir: /sys/src/libstdio/ferror.c/

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