1 /* wmemcpy( wchar_t *, const wchar_t *, size_t )
\r
3 This file is part of the Public Domain C Library (PDCLib).
\r
4 Permission is granted to use, modify, and / or redistribute at will.
\r
11 wchar_t * wmemcpy( wchar_t * _PDCLIB_restrict dest,
\r
12 const wchar_t * _PDCLIB_restrict src,
\r
26 #include <_PDCLIB_test.h>
\r
30 wchar_t s[] = L"xxxxxxxxxxx";
\r
31 TESTCASE( wmemcpy( s, wabcde, 6 ) == s );
\r
32 TESTCASE( s[4] == L'e' );
\r
33 TESTCASE( s[5] == L'\0' );
\r
34 TESTCASE( wmemcpy( s + 5, wabcde, 5 ) == s + 5 );
\r
35 TESTCASE( s[9] == L'e' );
\r
36 TESTCASE( s[10] == L'x' );
\r
37 return TEST_RESULTS;
\r