]> git.saurik.com Git - apple/libc.git/blame - locale/FreeBSD/towlower.3.patch
Libc-763.11.tar.gz
[apple/libc.git] / locale / FreeBSD / towlower.3.patch
CommitLineData
1f2f436a
A
1--- towlower.3.orig 2009-11-09 15:05:25.000000000 -0800
2+++ towlower.3 2009-11-09 15:05:26.000000000 -0800
3@@ -36,29 +36,48 @@
3d9156a7
A
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
224c7076 13 .Sh SYNOPSIS
3d9156a7
A
14 .In wctype.h
15 .Ft wint_t
224c7076
A
16-.Fn towlower "wint_t wc"
17+.Fo towlower
18+.Fa "wint_t wc"
19+.Fc
20+.In wctype.h
3d9156a7
A
21+.In xlocale.h
22+.Ft wint_t
224c7076
A
23+.Fo towlower_l
24+.Fa "wint_t wc"
25+.Fa "locale_t loc"
26+.Fc
3d9156a7
A
27 .Sh DESCRIPTION
28 The
29 .Fn towlower
30 function converts an upper-case letter to the corresponding lower-case
31 letter.
32+.Pp
224c7076 33+Although the
3d9156a7
A
34+.Fn towlower
35+function uses the current locale, the
36+.Fn towlower_l
37+function may be passed a locale directly. See
38+.Xr xlocale 3
39+for more information.
40 .Sh RETURN VALUES
41 If the argument is an upper-case letter, the
42 .Fn towlower
224c7076
A
43 function returns the corresponding lower-case letter if there is
44-one; otherwise the argument is returned unchanged.
45+one; otherwise, the argument is returned unchanged.
46 .Sh SEE ALSO
3d9156a7
A
47 .Xr iswlower 3 ,
48 .Xr tolower 3 ,
49 .Xr towupper 3 ,
50-.Xr wctrans 3
51+.Xr wctrans 3 ,
52+.Xr xlocale 3
53 .Sh STANDARDS
54 The
55 .Fn towlower