shithub: riscv

ref: 28057f67a04fc9e666cdb698d811c9d26c94f28c
dir: /sys/src/libstdio/ferror.c/

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