1TOWUPPER(P)                POSIX Programmer's Manual               TOWUPPER(P)
2
3
4

NAME

6       towupper - transliterate lowercase wide-character code to uppercase
7

SYNOPSIS

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

DESCRIPTION

15       The  towupper()  function  has  as a domain a type wint_t, the value of
16       which the application shall ensure is a character  representable  as  a
17       wchar_t,  and  a wide-character code corresponding to a valid character
18       in the current locale or the value of WEOF. If  the  argument  has  any
19       other  value,  the behavior is undefined. If the argument of towupper()
20       represents a lowercase wide-character code, and there exists  a  corre‐
21       sponding  uppercase  wide-character  code (as defined by character type
22       information in the program locale category LC_CTYPE ), the result shall
23       be  the  corresponding  uppercase wide-character code.  All other argu‐
24       ments in the domain are returned unchanged.
25

RETURN VALUE

27       Upon successful completion, towupper() shall return the uppercase  let‐
28       ter  corresponding  to  the argument passed. Otherwise, it shall return
29       the argument unchanged.
30

ERRORS

32       No errors are defined.
33
34       The following sections are informative.
35

EXAMPLES

37       None.
38

APPLICATION USAGE

40       None.
41

RATIONALE

43       None.
44

FUTURE DIRECTIONS

46       None.
47

SEE ALSO

49       setlocale() , the  Base  Definitions  volume  of  IEEE Std 1003.1-2001,
50       Chapter 7, Locale, <wctype.h>, <wchar.h>
51
53       Portions  of  this text are reprinted and reproduced in electronic form
54       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
55       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
56       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
57       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
58       event of any discrepancy between this version and the original IEEE and
59       The  Open Group Standard, the original IEEE and The Open Group Standard
60       is the referee document. The original Standard can be  obtained  online
61       at http://www.opengroup.org/unix/online.html .
62
63
64
65IEEE/The Open Group                  2003                          TOWUPPER(P)
Impressum