shithub: riscv

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

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