gcc/libio/stdio/ferror.c
Jason Merrill 6599da043e Initial revision
From-SVN: r14877
1997-08-21 18:57:35 -04:00

11 lines
122 B
C

#include "libioP.h"
#include "stdio.h"
int
ferror(fp)
FILE* fp;
{
CHECK_FILE(fp, EOF);
return _IO_ferror(fp);
}