shithub: riscv

ref: 56c212c010af4d0e18454699699eb65d08704af0
dir: /sys/src/libstdio/ferror.c/

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