/* ** Copyright 2011, Oliver Tappe, zooey@hirschkaefer.de. All rights reserved. ** Distributed under the terms of the Haiku License. */ #include size_t __wcslen(const wchar_t* wcs) { size_t length = 0; while (*wcs++ != L'\0') length++; return length; } B_DEFINE_WEAK_ALIAS(__wcslen, wcslen);