VMS Help
CRTL, toupper
*Conan The Librarian
|
Converts a character to uppercase.
Format
#include <ctype.h>
int toupper (int character);
character
An object of type int representable as an unsigned char or the
value of EOF. For any other value, the behavior is undefined.
If the argument represents a lowercase letter, and there is
a corresponding uppercase letter, as defined by character
type information in the program locale category LC_CTYPE, the
corresponding uppercase letter is returned.
If the argument is not a lowercase character, it is returned
unchanged.
x The uppercase letter corresponding to the
argument. Or, the unchanged argument, if the
argument is not a lowercase character.