shithub: riscv

ref: 373723d4f608c43bc5020cc32f35fa5e43503e73
dir: /sys/src/libstdio/ferror.c/

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