shithub: riscv

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

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