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 <wchar_private.h> 7 8 9 wchar_t* __wcpcpy(wchar_t * dest,const wchar_t * src)10__wcpcpy(wchar_t* dest, const wchar_t* src) 11 { 12 while (*src != L'\0') 13 *dest++ = *src++; 14 *dest = L'\0'; 15 16 return dest; 17 } 18 19 20 B_DEFINE_WEAK_ALIAS(__wcpcpy, wcpcpy); 21