msvcr100: Added _stat32i64 implementation.
This commit is contained in:
parent
ead3ccc18e
commit
e7a3b7bcc7
|
@ -266,6 +266,20 @@ static void stat64_to_stat32i64(const struct _stat64 *buf64, struct _stat32i64 *
|
|||
buf->st_ctime = buf64->st_ctime;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _stat32i64 (MSVCR100.@)
|
||||
*/
|
||||
int CDECL _stat32i64(const char *path, struct _stat32i64* buf)
|
||||
{
|
||||
int ret;
|
||||
struct _stat64 buf64;
|
||||
|
||||
ret = _stat64(path, &buf64);
|
||||
if (!ret)
|
||||
stat64_to_stat32i64(&buf64, buf);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _wstat32i64 (MSVCR100.@)
|
||||
*/
|
||||
|
|
|
@ -1318,7 +1318,7 @@
|
|||
@ varargs _sscanf_l(str str ptr) msvcrt._sscanf_l
|
||||
@ varargs _sscanf_s_l(str str ptr) msvcrt._sscanf_s_l
|
||||
@ cdecl _stat32(str ptr)
|
||||
@ stub _stat32i64
|
||||
@ cdecl _stat32i64(str ptr)
|
||||
@ cdecl _stat64(str ptr) msvcrt._stat64
|
||||
@ cdecl _stat64i32(str ptr)
|
||||
@ cdecl _statusfp() msvcrt._statusfp
|
||||
|
|
Loading…
Reference in New Issue