shithub: riscv

ref: 235ef367d793db705b1b4ef20913c697eccd13a6
dir: /sys/src/libstdio/ferror.c/

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