1 --- wcsxfrm.3.bsdnew 2009-11-18 18:24:41.000000000 -0800
2 +++ wcsxfrm.3 2009-11-18 18:24:41.000000000 -0800
10 .Nd transform a wide string under locale
16 -.Fn wcsxfrm "wchar_t * restrict dst" "const wchar_t * restrict src" "size_t n"
18 +.Fa "wchar_t *restrict ws1"
19 +.Fa "const wchar_t *restrict ws2"
26 +.Fa "wchar_t *restrict ws1"
27 +.Fa "const wchar_t *restrict ws2"
34 function transforms a null-terminated wide character string pointed to by
36 -according to the current locale collation order
37 -then copies the transformed string
41 +according to the current locale's collation order,
42 +then copies the transformed string into
46 wide characters are copied into
48 -including the terminating null character added.
50 +including the terminating null character.
54 (it helps to determine an actual size needed
61 @@ -76,6 +89,14 @@ after
62 is equivalent to comparing
63 two original strings with
68 +function uses the current locale, the
70 +function may be passed a locale directly. See
72 +for more information.
74 Upon successful completion,
76 @@ -84,13 +105,14 @@ the terminating null character.
79 or more, the contents of
93 @@ -116,7 +138,7 @@ always equivalent to comparison with
96 only stores information about primary collation weights into
101 compares characters using both primary and secondary weights.