git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
branch update for HEAD-2003021201
[reactos.git]
/
lib
/
crtdll
/
stdio
/
feof.c
1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
#include <msvcrt/stdio.h>
3
#include <msvcrt/errno.h>
4
#include <msvcrt/internal/file.h>
5
6
#ifdef feof
7
#undef feof
8
int feof(FILE *stream);
9
#endif
10
11
int feof(FILE *stream)
12
{
13
if (stream == NULL) {
14
__set_errno (EINVAL);
15
return EOF;
16
}
17
18
return stream->_flag & _IOEOF;
19
}