libroot_debug: Merge guarded heap into libroot_debug.
[haiku.git] / src / system / libroot / posix / wchar / wmemset.c
blob5bf2efdbc017eb54137217bab14af0686957c37b
1 /*
2 ** Copyright 2011, Oliver Tappe, zooey@hirschkaefer.de. All rights reserved.
3 ** Distributed under the terms of the Haiku License.
4 */
6 #include <wchar_private.h>
9 wchar_t*
10 __wmemset(wchar_t* destIn, const wchar_t wc, size_t count)
12 wchar_t* dest = destIn;
13 while (count-- > 0)
14 *dest++ = wc;
16 return destIn;
20 B_DEFINE_WEAK_ALIAS(__wmemset, wmemset);