shithub: riscv

ref: 61f826d45f06a7890fb9a5fa97f9a523061f5e6f
dir: /sys/src/libstdio/ferror.c/

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