3.2.40. strtoupper

Converts a string to uppercase.

Syntax:

char *strtoupper (str)
char *str;

where:

str

The string to be converted.

Description

This macro converts a string to uppercase. The original string is changed.

Return value

char *

A pointer to the first character of the converted string.

Example

add char myString[50]
cexpression strcpy(myString, "A String with lowercase characters.")
cexpression strtoupper(myString)
printf "%s",  myString

See also

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