shithub: riscv

ref: 3b1c450cd53eb2dddca40ae23603179ff06c8a50
dir: /sys/src/libstdio/ferror.c/

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