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

Technical Reference: Base Operating System and Extensions, Volume 2

towupper Subroutine

Purpose

Converts a lowercase wide character to an uppercase wide character.

Library

Standard C Library (libc.a)

Syntax

#include  <wchar.h>

wint_t towupper ( WC)
wint_t WC;

Description

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.

Parameters

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.

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.2 General Programming Concepts: Writing and Debugging Programs.

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