shithub: riscv

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

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