shithub: riscv

ref: 566c3ca2de98761f9039e49ca5f68ee1a9ad73c4
dir: /sys/src/libstdio/ferror.c/

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