update for HEAD-2003091401
[reactos.git] / lib / msvcrt / stdio / fsopen.c
index 0b36507..7d7268f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * COPYRIGHT:   See COPYING in the top level directory
  * PROJECT:     ReactOS system libraries
- * FILE:        lib/crtdll/conio/kbhit.c
+ * FILE:        lib/msvcrt/stdio/fsopen.c
  * PURPOSE:     Checks for keyboard hits
  * PROGRAMER:   Boudewijn Dekker
  * UPDATE HISTORY:
@@ -20,6 +20,9 @@
 FILE * __alloc_file(void);
 
 
+/*
+ * @implemented
+ */
 FILE* _fsopen(const char *file, const char *mode, int shflag)
 {
   FILE *f;
@@ -79,7 +82,7 @@ FILE* _fsopen(const char *file, const char *mode, int shflag)
   if (fd < 0)
     return NULL;
 
-// ms crtdll ensures that writes will end up at the end of file in append mode
+// msvcrt ensures that writes will end up at the end of file in append mode
 // we just move the file pointer to the end of file initially
   if (*mode == 'a')
     lseek(fd, 0, SEEK_END);
@@ -98,6 +101,9 @@ FILE* _fsopen(const char *file, const char *mode, int shflag)
   return f;
 }
 
+/*
+ * @implemented
+ */
 FILE* _wfsopen(const wchar_t *file, const wchar_t *mode, int shflag)
 {
   FILE *f;
@@ -157,7 +163,7 @@ FILE* _wfsopen(const wchar_t *file, const wchar_t *mode, int shflag)
   if (fd < 0)
     return NULL;
 
-// ms crtdll ensures that writes will end up at the end of file in append mode
+// msvcrt ensures that writes will end up at the end of file in append mode
 // we just move the file pointer to the end of file initially
   if (*mode == L'a')
     lseek(fd, 0, SEEK_END);