Texas Instruments TMS34010 Reference Manual page 162

C compiler
Hide thumbs Also See for TMS34010:
Table of Contents

Advertisement

Convert Case
tolower/toupper
Syntax
Defined in
Description
#include
<ctype.h>
int
to!ower(c)
char
Ci
int
toupper(c)
char
Ci
tolower. c in rts. src
toupper. c in rts. src
Two functions convert the case of a single alphabetic character, c, to upper
or lower case:
The tolower function converts an uppercase argument to lowercase.
If c is already in lowercase, to lower returns it unchanged.
The toupper function converts a lowercase argument to uppercase.
If c is already in uppercase, toupper returns it unchanged.
The functions have macro equivalents named -tolower and -toupper.
6-87

Advertisement

Table of Contents
loading

Table of Contents