[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Base Operating System and Extensions Technical Reference, 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.

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 subroutine, towlower subroutine, wctype subroutine.

Subroutines Overview in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]