]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/wctrans.3.patch
af8e92859f3a846fb82c285b2dedfc491f734fb8
[apple/libc.git] / locale / FreeBSD / wctrans.3.patch
1 --- wctrans.3.orig Fri Mar 11 18:13:15 2005
2 +++ wctrans.3 Fri Mar 11 18:14:31 2005
3 @@ -28,7 +28,8 @@
4 .Dt WCTRANS 3
5 .Os
6 .Sh NAME
7 -.Nm towctrans , wctrans
8 +.Nm towctrans , wctrans ,
9 +.Nm towctrans_l , wctrans_l
10 .Nd "wide character mapping functions"
11 .Sh LIBRARY
12 .Lb libc
13 @@ -38,6 +39,11 @@
14 .Fn towctrans "wint_t wc" "wctrans_t desc"
15 .Ft wctrans_t
16 .Fn wctrans "const char *charclass"
17 +.In xlocale.h
18 +.Ft wint_t
19 +.Fn towctrans_l "wint_t wc" "wctrans_t desc" "locale_t loc"
20 +.Ft wctrans_t
21 +.Fn wctrans_l "const char *charclass" "locale_t loc"
22 .Sh DESCRIPTION
23 The
24 .Fn wctrans
25 @@ -58,6 +64,18 @@
26 .Fa wc
27 according to the mapping described by
28 .Fa desc .
29 +.Pp
30 +While the
31 +.Fn towctrans
32 +and
33 +.Fn wctrans
34 +functions use the current locale, the
35 +.Fn towctrans_l
36 +and
37 +.Fn wctrans_l
38 +functions may be passed locales directly. See
39 +.Xr xlocale 3
40 +for more information.
41 .Sh RETURN VALUES
42 The
43 .Fn towctrans
44 @@ -105,7 +123,8 @@
45 .Sh SEE ALSO
46 .Xr tolower 3 ,
47 .Xr toupper 3 ,
48 -.Xr wctype 3
49 +.Xr wctype 3 ,
50 +.Xr xlocale 3
51 .Sh STANDARDS
52 The
53 .Fn towctrans