shithub: riscv

ref: 0d29a5d81f8c2e45f94aa214d47a568a741547f4
dir: /sys/src/libstdio/ferror.c/

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