git: 9front

ref: 03417fd3346d32dc8b4213d1a9cb3ec09b2d8a80
dir: /sys/src/ape/lib/ap/stdio/ferror.c/

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