summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/towlower.3
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-10-03 11:23:06 +0000
committertjr <tjr@FreeBSD.org>2002-10-03 11:23:06 +0000
commite3f15214bfc4cefaad1e1ec16f7ab61b23842ca6 (patch)
tree1a862dcf2392ea66eb0dbf212d42a649a12c4625 /lib/libc/locale/towlower.3
parentb9c5c09473ee2f4b638163affeb9e55b277edc13 (diff)
downloadFreeBSD-src-e3f15214bfc4cefaad1e1ec16f7ab61b23842ca6.zip
FreeBSD-src-e3f15214bfc4cefaad1e1ec16f7ab61b23842ca6.tar.gz
Document towlower() and towupper() in separate manual pages instead of
trying to confusingly document both on the same page. The new manual pages are based on tolower(3) and toupper(3) instead of the old towlower(3).
Diffstat (limited to 'lib/libc/locale/towlower.3')
-rw-r--r--lib/libc/locale/towlower.339
1 files changed, 17 insertions, 22 deletions
diff --git a/lib/libc/locale/towlower.3 b/lib/libc/locale/towlower.3
index b099260..27f4cd0 100644
--- a/lib/libc/locale/towlower.3
+++ b/lib/libc/locale/towlower.3
@@ -1,7 +1,5 @@
-.\" $NetBSD: towlower.3,v 1.4 2002/10/01 17:00:22 junyoung Exp $
-.\"
-.\" Copyright (c) 1989, 1991 The Regents of the University of California.
-.\" All rights reserved.
+.\" Copyright (c) 1989, 1991, 1993
+.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the American National Standards Committee X3, on Information
@@ -35,41 +33,38 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)tolower.3 5.2 (Berkeley) 6/29/91
+.\" @(#)tolower.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd December 22, 2000
+.Dd October 3, 2002
.Dt TOWLOWER 3
.Os
.Sh NAME
-.Nm towlower , towupper
-.Nd wide character case letter conversion utilities
+.Nm towlower
+.Nd upper case to lower case letter conversion (wide character version)
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
.In wctype.h
.Ft wint_t
.Fn towlower "wint_t wc"
-.Ft wint_t
-.Fn towupper "wint_t wc"
.Sh DESCRIPTION
The
-.Fn towlower
-function converts an upper-case wide character to the corresponding lower-case
-letter.
-The
-.Fn towupper
-function converts an lower-case wide character to the corresponding upper-case
+.Fn tolower
+function converts an upper-case letter to the corresponding lower-case
letter.
.Sh RETURN VALUES
-If the argument is an upper/lower-case letter, the
-.Fn tolower
-function returns the corresponding counterpart if there is
+If the argument is an upper-case letter, the
+.Fn towlower
+function returns the corresponding lower-case letter if there is
one; otherwise the argument is returned unchanged.
.Sh SEE ALSO
+.Xr iswlower 3 ,
.Xr tolower 3 ,
-.Xr toupper 3 ,
+.Xr towupper 3 ,
.Xr wctrans 3
.Sh STANDARDS
-The functions conform to
-.St -p1003.1-2001 .
+The
+.Fn towlower
+function conforms to
+.St -isoC-99 .
OpenPOWER on IntegriCloud