]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/towlower.3.patch
Libc-498.tar.gz
[apple/libc.git] / locale / FreeBSD / towlower.3.patch
1 --- _SB/Libc/locale/FreeBSD/towlower.3 2003-05-20 15:21:44.000000000 -0700
2 +++ _SB/Libc/locale/FreeBSD/towlower.3.edit 2006-06-28 16:55:51.000000000 -0700
3 @@ -40,29 +40,48 @@
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 .Sh SYNOPSIS
14 .In wctype.h
15 .Ft wint_t
16 -.Fn towlower "wint_t wc"
17 +.Fo towlower
18 +.Fa "wint_t wc"
19 +.Fc
20 +.In wctype.h
21 +.In xlocale.h
22 +.Ft wint_t
23 +.Fo towlower_l
24 +.Fa "wint_t wc"
25 +.Fa "locale_t loc"
26 +.Fc
27 .Sh DESCRIPTION
28 The
29 .Fn towlower
30 function converts an upper-case letter to the corresponding lower-case
31 letter.
32 +.Pp
33 +Although the
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
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
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