9 const wchar_t in
[] = {L
'a', L
'b', L
'c', 0};
10 wchar_t out
[3 + 1] = {
14 size_t res
= wcsxfrm(out
, in
, 3);
17 wchar_t* in2
= malloc(sizeof(wchar_t) * 4);
18 memcpy(in2
, in
, sizeof(in
));
19 res
= wcsxfrm(out
, in2
, 3);
23 wchar_t* in3
= malloc(sizeof(wchar_t) * 4);
24 memcpy(in3
, in
, sizeof(in
));
25 res
= wcsxfrm(out
, in3
, 3);