shithub: riscv

ref: 68f15d65942da7e30cf9cbae7362f778fe5da1d2
dir: /sys/src/libstdio/ferror.c/

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