update for HEAD-2003091401
[reactos.git] / lib / msvcrt / io / fileleni.c
1 #include <windows.h>
2 #include <msvcrt/io.h>
3
4
5 /*
6  * @implemented
7  */
8 __int64 _filelengthi64(int _fd)
9 {
10     long lo_length, hi_length;
11
12     lo_length = GetFileSize(_get_osfhandle(_fd), &hi_length);
13     return((((__int64)hi_length) << 32) + lo_length);
14 }