xref: /freebsd/lib/libc/locale/towupper.3 (revision dc36d6f9bb1753f3808552f3afd30eda9a7b206a)
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.
16*fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors
17b06b0978STim J. Robbins.\"    may be used to endorse or promote products derived from this software
18b06b0978STim J. Robbins.\"    without specific prior written permission.
19b06b0978STim J. Robbins.\"
20b06b0978STim J. Robbins.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21b06b0978STim J. Robbins.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22b06b0978STim J. Robbins.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23b06b0978STim J. Robbins.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24b06b0978STim J. Robbins.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25b06b0978STim J. Robbins.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26b06b0978STim J. Robbins.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27b06b0978STim J. Robbins.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28b06b0978STim J. Robbins.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29b06b0978STim J. Robbins.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30b06b0978STim J. Robbins.\" SUCH DAMAGE.
31b06b0978STim J. Robbins.\"
32b06b0978STim J. Robbins.Dd October 3, 2002
33b06b0978STim J. Robbins.Dt TOWUPPER 3
34b06b0978STim J. Robbins.Os
35b06b0978STim J. Robbins.Sh NAME
36b06b0978STim J. Robbins.Nm towupper
37279062faSRuslan Ermilov.Nd "lower case to upper case letter conversion (wide character version)"
38b06b0978STim J. Robbins.Sh LIBRARY
39b06b0978STim J. Robbins.Lb libc
40b06b0978STim J. Robbins.Sh SYNOPSIS
41b06b0978STim J. Robbins.In wctype.h
42b06b0978STim J. Robbins.Ft wint_t
43b06b0978STim J. Robbins.Fn towupper "wint_t wc"
44b06b0978STim J. Robbins.Sh DESCRIPTION
45b06b0978STim J. RobbinsThe
46b06b0978STim J. Robbins.Fn towupper
47b06b0978STim J. Robbinsfunction converts a lower-case letter to the corresponding
48b06b0978STim J. Robbinsupper-case letter.
49b06b0978STim J. Robbins.Sh RETURN VALUES
50b06b0978STim J. RobbinsIf the argument is a lower-case letter, the
51b06b0978STim J. Robbins.Fn towupper
52b06b0978STim J. Robbinsfunction returns the corresponding upper-case letter if there is
53b06b0978STim J. Robbinsone; otherwise the argument is returned unchanged.
54b06b0978STim J. Robbins.Sh SEE ALSO
55b06b0978STim J. Robbins.Xr iswupper 3 ,
56b06b0978STim J. Robbins.Xr toupper 3 ,
57b06b0978STim J. Robbins.Xr towlower 3 ,
58b06b0978STim J. Robbins.Xr wctrans 3
59b06b0978STim J. Robbins.Sh STANDARDS
60b06b0978STim J. RobbinsThe
61b06b0978STim J. Robbins.Fn towupper
62b06b0978STim J. Robbinsfunction conforms to
63b06b0978STim J. Robbins.St -isoC-99 .
64