9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

ferror.c (87B)


      1 #include <stdio.h>
      2 #undef ferror
      3 
      4 int
      5 ferror(FILE *fp)
      6 {
      7 	return fp->flags & _IOERR;
      8 }