shithub: riscv

ref: e09adf59442cd36888eaea1d76e66ff3259d16b8
dir: /sys/src/libstdio/ferror.c/

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