shithub: riscv

ref: 59ed389a6eb7d405eb44d9644d69993e814dccdf
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;
}