Datasheet

ANSI C CTYPE LIBRARY
The mikroC PRO for AVR provides a set of standard ANSI C library functions for testing and map-
ping characters.
Note: Not all of the standard functions have been included.
Note: The functions have been mostly implemented according to the ANSI C standard, but cer-
tain functions have been modified in order to facilitate AVR programming. Be sure to skim through
the description before using standard C functions.
Library Functions
- isalnum
- isalpha
- iscntrl
- isdigit
- isgraph
- islower
- ispunct
- isspace
- isupper
- isxdigit
- toupper
- tolower
isalnum
isalpha
iscntrl
542
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
unsigned short isalnum(char character);
Description
Function returns 1 if the character is alphanumeric (A-Z, a-z, 0-9), otherwise
returns zero.
Prototype
unsigned short isalpha(char character);
Description
Function returns 1 if the character is alphabetic (A-Z, a-z), otherwise returns
zero.
Prototype
unsigned short iscntrl(char character);
Description
Function returns 1 if the character is a control or delete character(decimal 0-31
and 127), otherwise returns zero.