shithub: riscv

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