Technical Support
On-Line Manuals
Cx51 User's Guide
#include <ctype.h> char toupper ( char c); /* character to convert */
The toupper function converts c to an uppercase character. If c is not an alphabetic letter, the toupper function has no effect.
The toupper function returns the uppercase equivalent of c.
_tolower, _toupper, tolower
#include <ctype.h> #include <stdio.h> /* for printf */ void tst_toupper (void) { unsigned char i; for (i = 0x20; i < 0x7F; i++) { printf ("toupper(%c) = %c\n", i, toupper(i)); } }
Cookie Settings | Terms of Use | Privacy | Accessibility | Trademarks | Contact Us | Feedback
Copyright © 2005-2019 Arm Limited (or its affiliates). All rights reserved.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
Change Settings
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.