xref: /freebsd/lib/libc/locale/towupper.3 (revision b06b0978057125523f7745ea527f1c607b3cb552)
1b06b0978STim J. Robbins.\" Copyright (c) 1989, 1991, 1993
2b06b0978STim J. Robbins.\"	The Regents of the University of California.  All rights reserved.
3b06b0978STim J. Robbins.\"
4b06b0978STim J. Robbins.\" This code is derived from software contributed to Berkeley by
5b06b0978STim J. Robbins.\" the American National Standards Committee X3, on Information
6b06b0978STim J. Robbins.\" Processing Systems.
7b06b0978STim J. Robbins.\"
8b06b0978STim J. Robbins.\" Redistribution and use in source and binary forms, with or without
9b06b0978STim J. Robbins.\" modification, are permitted provided that the following conditions
10b06b0978STim J. Robbins.\" are met:
11b06b0978STim J. Robbins.\" 1. Redistributions of source code must retain the above copyright
12b06b0978STim J. Robbins.\"    notice, this list of conditions and the following disclaimer.
13b06b0978STim J. Robbins.\" 2. Redistributions in binary form must reproduce the above copyright
14b06b0978STim J. Robbins.\"    notice, this list of conditions and the following disclaimer in the
15b06b0978STim J. Robbins.\"    documentation and/or other materials provided with the distribution.
16b06b0978STim J. Robbins.\" 3. All advertising materials mentioning features or use of this software
17b06b0978STim J. Robbins.\"    must display the following acknowledgement:
18b06b0978STim J. Robbins.\"	This product includes software developed by the University of
19b06b0978STim J. Robbins.\"	California, Berkeley and its contributors.
20b06b0978STim J. Robbins.\" 4. Neither the name of the University nor the names of its contributors
21b06b0978STim J. Robbins.\"    may be used to endorse or promote products derived from this software
22b06b0978STim J. Robbins.\"    without specific prior written permission.
23b06b0978STim J. Robbins.\"
24b06b0978STim J. Robbins.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
25b06b0978STim J. Robbins.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26b06b0978STim J. Robbins.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27b06b0978STim J. Robbins.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28b06b0978STim J. Robbins.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29b06b0978STim J. Robbins.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30b06b0978STim J. Robbins.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31b06b0978STim J. Robbins.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32b06b0978STim J. Robbins.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33b06b0978STim J. Robbins.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34b06b0978STim J. Robbins.\" SUCH DAMAGE.
35b06b0978STim J. Robbins.\"
36b06b0978STim J. Robbins.\"	@(#)toupper.3	8.1 (Berkeley) 6/4/93
37b06b0978STim J. Robbins.\" $FreeBSD$
38b06b0978STim J. Robbins.\"
39b06b0978STim J. Robbins.Dd October 3, 2002
40b06b0978STim J. Robbins.Dt TOWUPPER 3
41b06b0978STim J. Robbins.Os
42b06b0978STim J. Robbins.Sh NAME
43b06b0978STim J. Robbins.Nm towupper
44b06b0978STim J. Robbins.Nd lower case to upper case letter conversion (wide character version)
45b06b0978STim J. Robbins.Sh LIBRARY
46b06b0978STim J. Robbins.Lb libc
47b06b0978STim J. Robbins.Sh SYNOPSIS
48b06b0978STim J. Robbins.In wctype.h
49b06b0978STim J. Robbins.Ft wint_t
50b06b0978STim J. Robbins.Fn towupper "wint_t wc"
51b06b0978STim J. Robbins.Sh DESCRIPTION
52b06b0978STim J. RobbinsThe
53b06b0978STim J. Robbins.Fn towupper
54b06b0978STim J. Robbinsfunction converts a lower-case letter to the corresponding
55b06b0978STim J. Robbinsupper-case letter.
56b06b0978STim J. Robbins.Sh RETURN VALUES
57b06b0978STim J. RobbinsIf the argument is a lower-case letter, the
58b06b0978STim J. Robbins.Fn towupper
59b06b0978STim J. Robbinsfunction returns the corresponding upper-case letter if there is
60b06b0978STim J. Robbinsone; otherwise the argument is returned unchanged.
61b06b0978STim J. Robbins.Sh SEE ALSO
62b06b0978STim J. Robbins.Xr iswupper 3 ,
63b06b0978STim J. Robbins.Xr toupper 3 ,
64b06b0978STim J. Robbins.Xr towlower 3 ,
65b06b0978STim J. Robbins.Xr wctrans 3
66b06b0978STim J. Robbins.Sh STANDARDS
67b06b0978STim J. RobbinsThe
68b06b0978STim J. Robbins.Fn towupper
69b06b0978STim J. Robbinsfunction conforms to
70b06b0978STim J. Robbins.St -isoC-99 .
71