shithub: riscv

ref: 5016ac0c63c3b4db1dcdace0c6136b0ac88abeea
dir: /sys/src/libstdio/ferror.c/

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