1TOWUPPER(3)                Linux Programmer's Manual               TOWUPPER(3)
2
3
4

NAME

6       towupper - convert a wide character to uppercase
7

SYNOPSIS

9       #include <wctype.h>
10
11       wint_t towupper(wint_t wc);
12

DESCRIPTION

14       The  towupper()  function is the wide-character equivalent of the toup‐
15       per(3) function.  If wc is a wide character, it is converted to  upper‐
16       case.  Characters which do not have case are returned unchanged.  If wc
17       is WEOF, WEOF is returned.
18

RETURN VALUE

20       The towupper() function returns the uppercase equivalent of wc, or WEOF
21       if wc is WEOF.
22

CONFORMING TO

24       C99.
25

NOTES

27       The behavior of towupper() depends on the LC_CTYPE category of the cur‐
28       rent locale.
29
30       This function is not very appropriate for dealing with Unicode  charac‐
31       ters,  because  Unicode knows about three cases: upper, lower and title
32       case.
33

SEE ALSO

35       iswupper(3), towctrans(3), towlower(3)
36

COLOPHON

38       This page is part of release 3.22 of the Linux  man-pages  project.   A
39       description  of  the project, and information about reporting bugs, can
40       be found at http://www.kernel.org/doc/man-pages/.
41
42
43
44GNU                               1999-07-25                       TOWUPPER(3)
Impressum