toupper
convert from lowercase to uppercase
Synopsis
#include <ctype.h>
int toupper(int c);
Description
The
function converts the input character to uppercase if it is in
toupper
lowercase; otherwise, it returns the character.
Error Conditions
The
function does not return an error condition.
toupper
Example
#include <ctype.h>
int ch;
for (ch=0; ch<=0x7f; ch++) {
printf("%#04x", ch);
if(islower(ch))
printf("toupper=%#04x", toupper(ch));
putchar('\n');
}
See Also
islower, isupper,
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
tolower
C/C++ Run-Time Library
3-157
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers