shithub: riscv

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

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