shithub: riscv

ref: 1a900513fb137143e1c1f8177975952bc404f5a9
dir: /sys/src/libstdio/ferror.c/

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