git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
update for HEAD-2003021201
[reactos.git]
/
lib
/
msvcrt
/
io
/
fileleni.c
1
#include <windows.h>
2
#include <msvcrt/io.h>
3
4
5
__int64 _filelengthi64(int _fd)
6
{
7
long lo_length, hi_length;
8
9
lo_length = GetFileSize(_get_osfhandle(_fd), &hi_length);
10
return((((__int64)hi_length) << 32) + lo_length);
11
}