Download RL78,78K0R Coding - Renesas Electronics

Transcript
CubeSuite+ V2.01.00
CHAPTER 6 FUNCTION SPECIFICATIONS
toup
Subtracts "a" from "c" and adds "A" to the result
(_toupper is exactly the same as toup)
Remark
a: Lowercase; A: Uppercase
[Syntax]
#include <ctype.h>
int toup (int c) ;
[Argument(s)/Return value]
Argument
c:
Value obtained by adding "A" to the result of subtraction "c" -
Character to be converted
Remark
Return Value
"a"
a: Lowercase; A: Uppercase
[Description]
- The toup function is similar to _toupper except that it tests to see if the argument is a lowercase letter.
R20UT2774EJ0100 Rev.1.00
Dec 01, 2013
Page 641 of 872