1TOWUPPER(3) Linux Programmer's Manual TOWUPPER(3)
2
3
4
6 towupper - convert a wide character to uppercase
7
9 #include <wctype.h>
10
11 wint_t towupper(wint_t wc);
12
14 The towupper() function is the wide-character equivalent of the toup‐
15 per() 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
20 The towupper() function returns the uppercase equivalent of wc, or WEOF
21 if wc is WEOF.
22
24 C99.
25
27 iswupper(3), towctrans(3), towlower(3)
28
30 The behaviour of towupper() depends on the LC_CTYPE category of the
31 current locale.
32
33 This function is not very appropriate for dealing with Unicode charac‐
34 ters, because Unicode knows about three cases: upper, lower and title
35 case.
36
37
38
39GNU 1999-07-25 TOWUPPER(3)