git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
branch update for HEAD-2003091401
[reactos.git]
/
lib
/
msvcrt
/
stdio
/
fflush.c
diff --git
a/lib/msvcrt/stdio/fflush.c
b/lib/msvcrt/stdio/fflush.c
index
7d34c0f
..
7680626
100644
(file)
--- a/
lib/msvcrt/stdio/fflush.c
+++ b/
lib/msvcrt/stdio/fflush.c
@@
-20,6
+20,9
@@
#include <msvcrt/io.h>
#include <msvcrt/io.h>
+/*
+ * @implemented
+ */
int fflush(FILE *f)
{
char *base;
int fflush(FILE *f)
{
char *base;
@@
-29,11
+32,11
@@
int fflush(FILE *f)
if (f == NULL)
{
if (f == NULL)
{
- int e =
errno
;
+ int e =
*_errno()
;
__set_errno(0);
_fwalk((void (*)(FILE *))fflush);
__set_errno(0);
_fwalk((void (*)(FILE *))fflush);
- if (
errno
)
+ if (
*_errno()
)
return EOF;
__set_errno(e);
return 0;
return EOF;
__set_errno(e);
return 0;
@@
-105,6
+108,9
@@
int fflush(FILE *f)
return 0;
}
return 0;
}
+/*
+ * @implemented
+ */
int _flushall( void )
{
return fflush(NULL);
int _flushall( void )
{
return fflush(NULL);