]>
Commit | Line | Data |
---|---|---|
3d9156a7 A |
1 | --- wcscoll.3.orig Fri Mar 11 08:27:51 2005 |
2 | +++ wcscoll.3 Fri Mar 11 08:29:43 2005 | |
3 | @@ -41,7 +41,8 @@ | |
4 | .Dt WCSCOLL 3 | |
5 | .Os | |
6 | .Sh NAME | |
7 | -.Nm wcscoll | |
8 | +.Nm wcscoll , | |
9 | +.Nm wcscoll_l | |
10 | .Nd compare wide strings according to current collation | |
11 | .Sh LIBRARY | |
12 | .Lb libc | |
13 | @@ -49,6 +50,9 @@ | |
14 | .In wchar.h | |
15 | .Ft int | |
16 | .Fn wcscoll "const wchar_t *s1" "const wchar_t *s2" | |
17 | +.In xlocale.h | |
18 | +.Ft int | |
19 | +.Fn wcscoll_l "const wchar_t *s1" "const wchar_t *s2" "locale_t loc" | |
20 | .Sh DESCRIPTION | |
21 | The | |
22 | .Fn wcscoll | |
23 | @@ -63,6 +67,14 @@ | |
24 | .Fn wcscoll | |
25 | is equivalent to | |
26 | .Fn wcscmp . | |
27 | +.Pp | |
28 | +While the | |
29 | +.Fn wcscoll | |
30 | +function uses the current locale, the | |
31 | +.Fn wcscoll_l | |
32 | +function may be passed a locale directly. See | |
33 | +.Xr xlocale 3 | |
34 | +for more information. | |
35 | .Sh RETURN VALUES | |
36 | The | |
37 | .Fn wcscoll | |
38 | @@ -95,7 +107,8 @@ | |
39 | .Xr setlocale 3 , | |
40 | .Xr strcoll 3 , | |
41 | .Xr wcscmp 3 , | |
42 | -.Xr wcsxfrm 3 | |
43 | +.Xr wcsxfrm 3 , | |
44 | +.Xr xlocale 3 | |
45 | .Sh STANDARDS | |
46 | The | |
47 | .Fn wcscoll |