3.2.43. toupper

Converts a character to uppercase.

Syntax:

int toupper (c)
int c;

where:

c

The character to be converted.

Description

This macro converts a character to uppercase. The original character is unchanged.

Return value

int

The converted character.

Example

add char myChar
cexpression myChar='a'
printf "%c",  toupper(myChar)

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0175K
Non-Confidential