]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/towlower.3.patch
Libc-391.tar.gz
[apple/libc.git] / locale / FreeBSD / towlower.3.patch
1 --- towlower.3.orig Fri Mar 11 19:44:47 2005
2 +++ towlower.3 Fri Mar 11 19:50:47 2005
3 @@ -40,7 +40,8 @@
4 .Dt TOWLOWER 3
5 .Os
6 .Sh NAME
7 -.Nm towlower
8 +.Nm towlower ,
9 +.Nm towlower_l
10 .Nd "upper case to lower case letter conversion (wide character version)"
11 .Sh LIBRARY
12 .Lb libc
13 @@ -48,11 +49,22 @@
14 .In wctype.h
15 .Ft wint_t
16 .Fn towlower "wint_t wc"
17 +.In xlocale.h
18 +.Ft wint_t
19 +.Fn towlower_l "wint_t wc" "locale_t loc"
20 .Sh DESCRIPTION
21 The
22 .Fn towlower
23 function converts an upper-case letter to the corresponding lower-case
24 letter.
25 +.Pp
26 +While the
27 +.Fn towlower
28 +function uses the current locale, the
29 +.Fn towlower_l
30 +function may be passed a locale directly. See
31 +.Xr xlocale 3
32 +for more information.
33 .Sh RETURN VALUES
34 If the argument is an upper-case letter, the
35 .Fn towlower
36 @@ -62,7 +74,8 @@
37 .Xr iswlower 3 ,
38 .Xr tolower 3 ,
39 .Xr towupper 3 ,
40 -.Xr wctrans 3
41 +.Xr wctrans 3 ,
42 +.Xr xlocale 3
43 .Sh STANDARDS
44 The
45 .Fn towlower