3.2.39. strtolower

Converts a string to lowercase.

Syntax:

char *strtolower (str)
char *str;

where:

str

The string to be converted.

Description

This macro converts a string to lowercase. 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 UPPERCASE characters.")
cexpression strtolower(myString)
printf "%s",  myString

See also

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