]>
Commit | Line | Data |
---|---|---|
3d9156a7 A |
1 | --- strxfrm.3.orig Fri Mar 11 08:32:37 2005 |
2 | +++ strxfrm.3 Fri Mar 11 09:46:23 2005 | |
3 | @@ -40,7 +40,8 @@ | |
4 | .Dt STRXFRM 3 | |
5 | .Os | |
6 | .Sh NAME | |
7 | -.Nm strxfrm | |
8 | +.Nm strxfrm , | |
9 | +.Nm strxfrm_l | |
10 | .Nd transform a string under locale | |
11 | .Sh LIBRARY | |
12 | .Lb libc | |
13 | @@ -48,6 +49,9 @@ | |
14 | .In string.h | |
15 | .Ft size_t | |
16 | .Fn strxfrm "char * restrict dst" "const char * restrict src" "size_t n" | |
17 | +.In xlocale.h | |
18 | +.Ft size_t | |
19 | +.Fn strxfrm_l "char * restrict dst" "const char * restrict src" "size_t n" "locale_t loc" | |
20 | .Sh DESCRIPTION | |
21 | The | |
22 | .Fn strxfrm | |
23 | @@ -77,6 +81,14 @@ | |
24 | is equal to comparing | |
25 | two original strings with | |
26 | .Fn strcoll . | |
27 | +.Pp | |
28 | +While the | |
29 | +.Fn strxfrm | |
30 | +function uses the current locale, the | |
31 | +.Fn strxfrm_l | |
32 | +function may be passed a locale directly. See | |
33 | +.Xr xlocale 3 | |
34 | +for more information. | |
35 | .Sh RETURN VALUES | |
36 | Upon successful completion, | |
37 | .Fn strxfrm | |
38 | @@ -91,7 +103,8 @@ | |
39 | .Xr setlocale 3 , | |
40 | .Xr strcmp 3 , | |
41 | .Xr strcoll 3 , | |
42 | -.Xr wcsxfrm 3 | |
43 | +.Xr wcsxfrm 3 , | |
44 | +.Xr xlocale 3 | |
45 | .Sh STANDARDS | |
46 | The | |
47 | .Fn strxfrm |