2 ** Copyright 2011, Oliver Tappe, zooey@hirschkaefer.de. All rights reserved.
3 ** Distributed under the terms of the Haiku License.
6 #include <wchar_private.h>
10 __wcsncat(wchar_t* destIn
, const wchar_t* src
, size_t n
)
12 wchar_t* dest
= destIn
;
13 const wchar_t* srcEnd
= src
+ n
;
15 while (*dest
!= L
'\0')
17 while (src
< srcEnd
&& *src
!= L
'\0')
25 B_DEFINE_WEAK_ALIAS(__wcsncat
, wcsncat
);