]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/towupper.3.patch
Libc-391.2.3.tar.gz
[apple/libc.git] / locale / FreeBSD / towupper.3.patch
1 --- towupper.3.orig Fri Mar 11 19:44:47 2005
2 +++ towupper.3 Fri Mar 11 19:50:09 2005
3 @@ -40,7 +40,8 @@
4 .Dt TOWUPPER 3
5 .Os
6 .Sh NAME
7 -.Nm towupper
8 +.Nm towupper ,
9 +.Nm towupper_l
10 .Nd "lower case to upper 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 towupper "wint_t wc"
17 +.In xlocale.h
18 +.Ft wint_t
19 +.Fn towupper_l "wint_t wc" "locale_t loc"
20 .Sh DESCRIPTION
21 The
22 .Fn towupper
23 function converts a lower-case letter to the corresponding
24 upper-case letter.
25 +.Pp
26 +While the
27 +.Fn towupper
28 +function uses the current locale, the
29 +.Fn towupper_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 a lower-case letter, the
35 .Fn towupper
36 @@ -62,7 +74,8 @@
37 .Xr iswupper 3 ,
38 .Xr toupper 3 ,
39 .Xr towlower 3 ,
40 -.Xr wctrans 3
41 +.Xr wctrans 3 ,
42 +.Xr xlocale 3
43 .Sh STANDARDS
44 The
45 .Fn towupper