Loading...
--- /dev/null
+++ Libc/Libc-391/locale/FreeBSD/towupper.3.patch
@@ -0,0 +1,45 @@
+--- towupper.3.orig Fri Mar 11 19:44:47 2005
++++ towupper.3 Fri Mar 11 19:50:09 2005
+@@ -40,7 +40,8 @@
+ .Dt TOWUPPER 3
+ .Os
+ .Sh NAME
+-.Nm towupper
++.Nm towupper ,
++.Nm towupper_l
+ .Nd "lower case to upper case letter conversion (wide character version)"
+ .Sh LIBRARY
+ .Lb libc
+@@ -48,11 +49,22 @@
+ .In wctype.h
+ .Ft wint_t
+ .Fn towupper "wint_t wc"
++.In xlocale.h
++.Ft wint_t
++.Fn towupper_l "wint_t wc" "locale_t loc"
+ .Sh DESCRIPTION
+ The
+ .Fn towupper
+ function converts a lower-case letter to the corresponding
+ upper-case letter.
++.Pp
++While the
++.Fn towupper
++function uses the current locale, the
++.Fn towupper_l
++function may be passed a locale directly. See
++.Xr xlocale 3
++for more information.
+ .Sh RETURN VALUES
+ If the argument is a lower-case letter, the
+ .Fn towupper
+@@ -62,7 +74,8 @@
+ .Xr iswupper 3 ,
+ .Xr toupper 3 ,
+ .Xr towlower 3 ,
+-.Xr wctrans 3
++.Xr wctrans 3 ,
++.Xr xlocale 3
+ .Sh STANDARDS
+ The
+ .Fn towupper