1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
14 .TH TOWUPPER 3 1999-07-25 "GNU" "Linux Programmer's Manual"
16 towupper \- convert a wide character to uppercase
19 .B #include <wctype.h>
21 .BI "wint_t towupper(wint_t " wc );
26 function is the wide-character equivalent of the
29 If \fIwc\fP is a wide character, it is converted to
31 Characters which do not have case are returned unchanged.
32 If \fIwc\fP is \fBWEOF\fP, \fBWEOF\fP is returned.
36 function returns the uppercase equivalent of \fIwc\fP,
37 or \fBWEOF\fP if \fIwc\fP is \fBWEOF\fP.
48 This function is not very appropriate for dealing with Unicode characters,
49 because Unicode knows about three cases: upper, lower and title case.