git: 9front

ref: 03c73d4a7ca63c04b987946eb1f95ac6fdd89530
dir: /sys/src/libstdio/ferror.c/

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