Loading...
--- Libc/Libc-498/locale/FreeBSD/towupper.3.patch
+++ Libc/Libc-391.4.3/locale/FreeBSD/towupper.3.patch
@@ -1,6 +1,6 @@
---- _SB/Libc/locale/FreeBSD/towupper.3 2003-05-20 15:21:44.000000000 -0700
-+++ _SB/Libc/locale/FreeBSD/towupper.3.edit 2006-06-28 16:55:51.000000000 -0700
-@@ -40,29 +40,48 @@
+--- 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
@@ -10,27 +10,20 @@
.Nd "lower case to upper case letter conversion (wide character version)"
.Sh LIBRARY
.Lb libc
- .Sh SYNOPSIS
+@@ -48,11 +49,22 @@
.In wctype.h
.Ft wint_t
--.Fn towupper "wint_t wc"
-+.Fo towupper
-+.Fa "wint_t wc"
-+.Fc
-+.In wctype.h
+ .Fn towupper "wint_t wc"
+.In xlocale.h
+.Ft wint_t
-+.Fo towupper_l
-+.Fa "wint_t wc"
-+.Fa "locale_t loc"
-+.Fc
++.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
-+Although the
++While the
+.Fn towupper
+function uses the current locale, the
+.Fn towupper_l
@@ -40,10 +33,7 @@
.Sh RETURN VALUES
If the argument is a lower-case letter, the
.Fn towupper
- function returns the corresponding upper-case letter if there is
--one; otherwise the argument is returned unchanged.
-+one; otherwise, the argument is returned unchanged.
- .Sh SEE ALSO
+@@ -62,7 +74,8 @@
.Xr iswupper 3 ,
.Xr toupper 3 ,
.Xr towlower 3 ,