Added binary and unicode file i/o support to msvcrt.
[reactos.git] / reactos / lib / crtdll / stdio / fflush.c
index 0dc66f2..09982cb 100644 (file)
 /* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
 
-#include <crtdll/stdio.h>
-#include <crtdll/errno.h>
-#include <crtdll/sys/types.h>
-#include <crtdll/sys/stat.h>
-#include <crtdll/stdlib.h>
-#include <crtdll/internal/file.h>
-#include <crtdll/io.h>
+#include <msvcrt/stdio.h>
+#include <msvcrt/errno.h>
+#include <msvcrt/sys/types.h>
+#include <msvcrt/sys/stat.h>
+#include <msvcrt/stdlib.h>
+#include <msvcrt/internal/file.h>
+#include <msvcrt/io.h>
 
 
 int fflush(FILE *f)
@@ -88,8 +88,8 @@ int fflush(FILE *f)
     do {
       n = _write(fileno(f), base, rn);
       if (n <= 0) {
-       f->_flag |= _IOERR;
-       return EOF;
+           f->_flag |= _IOERR;
+           return EOF;
       }
       rn -= n;
       base += n;