git: 9front

ref: 55a366e766eca4252ab8549212f59dcae6827d7c
dir: /sys/src/libstdio/ferror.c/

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