Commit 2a192064 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: memcpy should behave like memmove in ntdll too.

parent a1544e0d
...@@ -666,7 +666,7 @@ ...@@ -666,7 +666,7 @@
@ cdecl mbtowc(wstr str long) MSVCRT_mbtowc @ cdecl mbtowc(wstr str long) MSVCRT_mbtowc
@ cdecl memchr(ptr long long) ntdll.memchr @ cdecl memchr(ptr long long) ntdll.memchr
@ cdecl memcmp(ptr ptr long) ntdll.memcmp @ 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 memmove(ptr ptr long) ntdll.memmove
@ cdecl memset(ptr long long) ntdll.memset @ cdecl memset(ptr long long) ntdll.memset
@ cdecl mktime(ptr) MSVCRT_mktime @ cdecl mktime(ptr) MSVCRT_mktime
......
...@@ -1308,7 +1308,7 @@ ...@@ -1308,7 +1308,7 @@
@ cdecl -private mbstowcs(ptr str long) NTDLL_mbstowcs @ cdecl -private mbstowcs(ptr str long) NTDLL_mbstowcs
@ cdecl -private memchr(ptr long long) @ cdecl -private memchr(ptr long long)
@ cdecl -private memcmp(ptr ptr 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 memmove(ptr ptr long)
@ cdecl -private memset(ptr long long) @ cdecl -private memset(ptr long long)
@ cdecl -private pow(double double) @ cdecl -private pow(double double)
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
*/ */
#include "config.h" #include "config.h"
#include "wine/port.h"
#include <ctype.h> #include <ctype.h>
#include <stdarg.h> #include <stdarg.h>
...@@ -62,6 +63,18 @@ INT __cdecl NTDLL__memicmp( LPCSTR s1, LPCSTR s2, DWORD len ) ...@@ -62,6 +63,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.@) * _strupr (NTDLL.@)
* *
* Convert a string to upper case. * Convert a string to upper case.
......
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