3.2.20. isupper

Checks if a character is upperspace.

Syntax:

int isupper (c)
int c;

where:

c

The character to be checked.

Description

This macro checks if a character is upperspace.

Return value

int

One of the following:

0

Character is not upperspace.

>0

Character is upperspace.

Example

define /R int chkUpper(myChar)
char myChar;
{
    if (isupper(myChar) > 0)
        $printf "uppercase character"$;
    else
        $printf "non-uppercase character"$;
}
.
cexpression chkUpper('A')

See also

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