shithub: riscv

ref: bd4b6bda9b93c2c29eb0cb52b2a1c09fd02028a9
dir: /sys/src/libstdio/ferror.c/

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