shithub: riscv

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

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