2 * Copyright 2011, Oliver Tappe, zooey@hirschkaefer.de.
3 * All rights reserved. Distributed under the terms of the MIT license.
8 #include <errno_private.h>
9 #include <LocaleBackend.h>
10 #include <wchar_private.h>
13 using BPrivate::Libroot::gLocaleBackend
;
17 __wcsxfrm(wchar_t* dest
, const wchar_t* src
, size_t destSize
)
19 if (gLocaleBackend
!= NULL
) {
21 status_t status
= gLocaleBackend
->Wcsxfrm(dest
, src
, destSize
, outSize
);
29 return wcslcpy(dest
, src
, destSize
);
34 B_DEFINE_WEAK_ALIAS(__wcsxfrm
, wcsxfrm
);