shithub: riscv

ref: 5fcf2040b43d13b6410285d45a0510b637d811c3
dir: /sys/src/libstdio/ferror.c/

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