shithub: riscv

ref: 82c7251dc3ff57ae97c0ce24b72e2e2ae5f6945b
dir: /sys/src/libstdio/ferror.c/

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