blob: 89041c32ae28ad29847ed720a9b75944e85b7c80 (
plain) (
tree)
|
|
#include <string.h>
#include <wchar.h>
wchar_t *wmemmove(wchar_t *d, const wchar_t *s, size_t n)
{
if ((size_t)(d-s) < n)
while (n--) d[n] = s[n];
else
while (n--) *d++ = *s++;
return d;
}
|