[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions , Volume 2

towupper Subroutine


Converts a lowercase wide character to an uppercase wide character.


Standard C Library (libc.a)


#include  <wchar.h>

wint_t towupper ( WC)
wint_t WC;


The towupper subroutine converts the lowercase wide character specified by the WC parameter into the corresponding uppercase wide character. The LC_CTYPE category affects the behavior of the towupper subroutine.


WC Specifies the wide character to convert to uppercase.

Return Values

If the WC parameter contains a lowercase wide character that has a corresponding uppercase wide character, that wide character is returned. Otherwise, the WC parameter is returned unchanged.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The iswalnum subroutine, iswalpha subroutine, iswcntrl subroutine, iswctype subroutine, iswdigit subroutine, iswgraph subroutine, iswlower subroutine, iswprint subroutine, iswpunct subroutine, iswspace subroutine, iswupper subroutine, iswxdigit subroutine, setlocale (setlocale Subroutine) subroutine, towlower (towlower Subroutine) subroutine, wctype (wctype or get_wctype Subroutine) subroutine.

Subroutines Overview in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]