-

Functions HI-TECH C TOUPPER

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

TOUPPER, TOLOWER, TOASCII

SYNOPSIS

#include  <ctype.h>
char toupper(int c);
char tolower(int c);
char toascii(int c);
char      c;


DESCRIPTION

Toupper() converts its lower case alphabetic argument to upper case, tolower() performs the reverse conversion, and toascii() returns a result that is guaranteed in the range 0-0177. Toupper() and tolower return their arguments if it is not an alphabetic character.

SEE ALSO

islower, isupper, isascii et. al.