ntdll: memcpy should behave like memmove in ntdll too.
This commit is contained in:
parent
a1544e0d20
commit
2a192064e8
|
@ -666,7 +666,7 @@
|
|||
@ cdecl mbtowc(wstr str long) MSVCRT_mbtowc
|
||||
@ cdecl memchr(ptr long long) ntdll.memchr
|
||||
@ cdecl memcmp(ptr ptr long) ntdll.memcmp
|
||||
@ cdecl memcpy(ptr ptr long) ntdll.memmove #sic
|
||||
@ cdecl memcpy(ptr ptr long) ntdll.memcpy
|
||||
@ cdecl memmove(ptr ptr long) ntdll.memmove
|
||||
@ cdecl memset(ptr long long) ntdll.memset
|
||||
@ cdecl mktime(ptr) MSVCRT_mktime
|
||||
|
|
|
@ -1308,7 +1308,7 @@
|
|||
@ cdecl -private mbstowcs(ptr str long) NTDLL_mbstowcs
|
||||
@ cdecl -private memchr(ptr long long)
|
||||
@ cdecl -private memcmp(ptr ptr long)
|
||||
@ cdecl -private memcpy(ptr ptr long)
|
||||
@ cdecl -private memcpy(ptr ptr long) NTDLL_memcpy
|
||||
@ cdecl -private memmove(ptr ptr long)
|
||||
@ cdecl -private memset(ptr long long)
|
||||
@ cdecl -private pow(double double)
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
|
@ -61,6 +62,18 @@ INT __cdecl NTDLL__memicmp( LPCSTR s1, LPCSTR s2, DWORD len )
|
|||
}
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
* memcpy (NTDLL.@)
|
||||
*
|
||||
* NOTES
|
||||
* Behaves like memmove.
|
||||
*/
|
||||
void * __cdecl NTDLL_memcpy( void *dst, const void *src, size_t n )
|
||||
{
|
||||
return memmove( dst, src, n );
|
||||
}
|
||||
|
||||
|
||||
/*********************************************************************
|
||||
* _strupr (NTDLL.@)
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue