git: 9front

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

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