Commit b6acca66 authored by Eryk Wieliczko's avatar Eryk Wieliczko Committed by Alexandre Julliard

msvcrt: Implement _ftime64_s and _ftime32_s.

parent f6990085
......@@ -659,9 +659,9 @@
@ cdecl -ret64 _ftelli64(ptr) msvcrt._ftelli64
@ stub _ftelli64_nolock
@ cdecl _ftime32(ptr) msvcrt._ftime32
@ stub _ftime32_s
@ cdecl _ftime32_s(ptr) msvcrt._ftime32_s
@ cdecl _ftime64(ptr) msvcrt._ftime64
@ stub _ftime64_s
@ cdecl _ftime64_s(ptr) msvcrt._ftime64_s
@ cdecl -ret64 _ftol() msvcrt._ftol
@ cdecl _fullpath(ptr str long) msvcrt._fullpath
@ cdecl _futime32(long ptr) msvcrt._futime32
......
......@@ -500,9 +500,9 @@
@ cdecl -ret64 _ftelli64(ptr) msvcrt._ftelli64
@ stub _ftelli64_nolock
@ cdecl _ftime32(ptr) msvcrt._ftime32
@ stub _ftime32_s
@ cdecl _ftime32_s(ptr) msvcrt._ftime32_s
@ cdecl _ftime64(ptr) msvcrt._ftime64
@ stub _ftime64_s
@ cdecl _ftime64_s(ptr) msvcrt._ftime64_s
@ cdecl -ret64 _ftol() msvcrt._ftol
@ cdecl _fullpath(ptr str long) msvcrt._fullpath
@ cdecl _futime32(long ptr) msvcrt._futime32
......
......@@ -492,9 +492,9 @@
@ cdecl -ret64 _ftelli64(ptr) msvcrt._ftelli64
@ stub _ftelli64_nolock
@ cdecl _ftime32(ptr) msvcrt._ftime32
@ stub _ftime32_s
@ cdecl _ftime32_s(ptr) msvcrt._ftime32_s
@ cdecl _ftime64(ptr) msvcrt._ftime64
@ stub _ftime64_s
@ cdecl _ftime64_s(ptr) msvcrt._ftime64_s
@ cdecl -ret64 _ftol() msvcrt._ftol
@ cdecl _fullpath(ptr str long) msvcrt._fullpath
@ cdecl _futime32(long ptr) msvcrt._futime32
......
......@@ -444,9 +444,9 @@
@ cdecl -ret64 _ftelli64(ptr) MSVCRT__ftelli64
@ cdecl _ftime(ptr) MSVCRT__ftime
@ cdecl _ftime32(ptr) MSVCRT__ftime32
# stub _ftime32_s
@ cdecl _ftime32_s(ptr) MSVCRT__ftime32_s
@ cdecl _ftime64(ptr) MSVCRT__ftime64
# stub _ftime64_s
@ cdecl _ftime64_s(ptr) MSVCRT__ftime64_s
@ cdecl -ret64 _ftol() ntdll._ftol
@ cdecl -ret64 _ftol2() ntdll._ftol
@ cdecl -ret64 _ftol2_sse() ntdll._ftol #FIXME: SSE variant should be implemented
......
......@@ -602,6 +602,20 @@ void CDECL MSVCRT__ftime64(struct MSVCRT___timeb64 *buf)
}
/*********************************************************************
* _ftime64_s (MSVCRT.@)
*/
int CDECL MSVCRT__ftime64_s(struct MSVCRT___timeb64 *buf)
{
if( !MSVCRT_CHECK_PMT( buf != NULL ) )
{
*MSVCRT__errno() = MSVCRT_EINVAL;
return MSVCRT_EINVAL;
}
MSVCRT__ftime64(buf);
return 0;
}
/*********************************************************************
* _ftime32 (MSVCRT.@)
*/
void CDECL MSVCRT__ftime32(struct MSVCRT___timeb32 *buf)
......@@ -616,6 +630,20 @@ void CDECL MSVCRT__ftime32(struct MSVCRT___timeb32 *buf)
}
/*********************************************************************
* _ftime32_s (MSVCRT.@)
*/
int CDECL MSVCRT__ftime32_s(struct MSVCRT___timeb32 *buf)
{
if( !MSVCRT_CHECK_PMT( buf != NULL ) )
{
*MSVCRT__errno() = MSVCRT_EINVAL;
return MSVCRT_EINVAL;
}
MSVCRT__ftime32(buf);
return 0;
}
/*********************************************************************
* _ftime (MSVCRT.@)
*/
#ifdef _WIN64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment