shithub: riscv

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

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