xref: /haiku/src/system/libroot/posix/wchar/wmemcpy.c (revision a127b88ecbfab58f64944c98aa47722a18e363b2)
1 /*
2 ** Copyright 2011, Oliver Tappe, zooey@hirschkaefer.de. All rights reserved.
3 ** Distributed under the terms of the MIT License.
4 */
5 
6 #include <string.h>
7 
8 #include <wchar_private.h>
9 
10 
11 wchar_t*
12 __wmemcpy(wchar_t* dest, const wchar_t* src, size_t count)
13 {
14 	return memcpy(dest, src, count * sizeof(wchar_t));
15 }
16 
17 
18 B_DEFINE_WEAK_ALIAS(__wmemcpy, wmemcpy);
19