branch update for HEAD-2003091401
[reactos.git] / lib / msvcrt / io / open.c
index f8ebcf5..d3d178f 100644 (file)
@@ -91,6 +91,9 @@ char __is_text_file(FILE* p)
    return (!((p)->_flag&_IOSTRG) && (__pioinfo[(p)->_file].mode&O_TEXT));
 }
 
+/*
+ * @implemented
+ */
 int _open(const char* _path, int _oflag,...)
 {
 #if !defined(NDEBUG) && defined(DBG)
@@ -279,11 +282,17 @@ int __fileno_close(int _fd)
     return 0;
 }
 
+/*
+ * @implemented
+ */
 int _open_osfhandle(void* osfhandle, int flags)
 {
     return __fileno_alloc((HANDLE)osfhandle, flags);
 }
 
+/*
+ * @implemented
+ */
 void* _get_osfhandle( int fileno )
 {
     return filehnd(fileno);
@@ -349,7 +358,7 @@ BOOL __fileno_init(void)
    ULONG count = 0, i;
    HANDLE* pFile;
    char* pmode;
-   STARTUPINFO StInfo;
+   STARTUPINFOA StInfo;
 
    GetStartupInfoA(&StInfo);
    if (StInfo.lpReserved2 && StInfo.cbReserved2 >= sizeof(ULONG)) {