shithub: riscv

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

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