shithub: riscv

ref: f9244d433ac557dd9982c4cfcfe3fca759efeb25
dir: /sys/src/ape/lib/ap/stdio/ferror.c/

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