...
lib_ascii.h/lib_ascii.c
Prototype
Code Block | ||
---|---|---|
| ||
CPU_BOOLEAN ASCII_Cmp (CPU_CHAR c1,
CPU_CHAR c2); |
Arguments
c1
First character.
...
Notes / Warnings
None.
Example Usage
Code Block | ||
---|---|---|
| ||
CPU_CHAR ch;
CPU_CHAR c_upper;
ch = ASCII_CHAR_LATIN_LOWER_G;
c_upper = ASCII_TO_UPPER(ch);
cmp = ASCII_Cmp(c_upper, c_upper); |