]> git.saurik.com Git - apple/libc.git/blob - locale/FreeBSD/towupper.3.patch
Libc-763.11.tar.gz
[apple/libc.git] / locale / FreeBSD / towupper.3.patch
1 --- towupper.3.orig 2009-11-09 15:05:25.000000000 -0800
2 +++ towupper.3 2009-11-09 15:05:26.000000000 -0800
3 @@ -36,29 +36,48 @@
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 .Sh SYNOPSIS
14 .In wctype.h
15 .Ft wint_t
16 -.Fn towupper "wint_t wc"
17 +.Fo towupper
18 +.Fa "wint_t wc"
19 +.Fc
20 +.In wctype.h
21 +.In xlocale.h
22 +.Ft wint_t
23 +.Fo towupper_l
24 +.Fa "wint_t wc"
25 +.Fa "locale_t loc"
26 +.Fc
27 .Sh DESCRIPTION
28 The
29 .Fn towupper
30 function converts a lower-case letter to the corresponding
31 upper-case letter.
32 +.Pp
33 +Although the
34 +.Fn towupper
35 +function uses the current locale, the
36 +.Fn towupper_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 a lower-case letter, the
42 .Fn towupper
43 function returns the corresponding upper-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 iswupper 3 ,
48 .Xr toupper 3 ,
49 .Xr towlower 3 ,
50 -.Xr wctrans 3
51 +.Xr wctrans 3 ,
52 +.Xr xlocale 3
53 .Sh STANDARDS
54 The
55 .Fn towupper