shithub: riscv

ref: 5608be398ea04d67594b558b30c457b328fe05d6
dir: /sys/src/libstdio/ferror.c/

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