git: 9front

ref: 114f10337b032b3cf907247e66bc4794b1e7f1a9
dir: /sys/src/libstdio/ferror.c/

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