libroot_debug: Merge guarded heap into libroot_debug.
[haiku.git] / src / system / libroot / posix / wchar / wmempcpy.c
blob27d6285fc44198ff05d301532d5ce399b6641bcd
1 /*
2 ** Copyright 2011, Oliver Tappe, zooey@hirschkaefer.de. All rights reserved.
3 ** Distributed under the terms of the Haiku License.
4 */
6 #include <string.h>
8 #include <wchar_private.h>
11 wchar_t*
12 __wmempcpy(wchar_t* dest, const wchar_t* src, size_t count)
14 memcpy(dest, src, count * sizeof(wchar_t));
16 return dest + count;
20 B_DEFINE_WEAK_ALIAS(__wmempcpy, wmempcpy);