Download 78K0 Coding - Renesas Electronics

Transcript
CubeSuite+ V1.01.00
CHAPTER 6 FUNCTION SPECIFICATIONS
_toupper
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 _toupper (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 _toupper function is similar to toup except that it does not test to see if the argument is a lowercase letter.
R20UT0782EJ0100 Rev.1.00
Oct 01, 2011
Page 619 of 836