git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8192ee0bd62f6bbb8516d6e17a571cef3b96b74d
[reactos.git]
/
lib
/
crtdll
/
stdio
/
ferror.c
1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
#include <msvcrt/stdio.h>
3
#include <msvcrt/internal/file.h>
4
5
#ifdef ferror
6
#undef ferror
7
int ferror(FILE *stream);
8
#endif
9
10
/*
11
* @implemented
12
*/
13
int ferror(FILE *stream)
14
{
15
return stream->_flag & _IOERR;
16
}