/programs/develop/libraries/menuetlibc/src/libc/ansi/stdio/ferror.c |
---|
0,0 → 1,9 |
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ |
#include <stdio.h> |
#include <libc/file.h> |
#undef ferror |
int ferror(FILE *stream) |
{ |
return stream->_flag & _IOERR; |
} |