Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

lib_ascii.h/lib_ascii.c

Prototype

Code Block
languagecpp
          CPU_BOOLEAN  ASCII_Cmp (CPU_CHAR  c1,
                                  CPU_CHAR  c2);


Arguments

c1

First character.

...

Notes / Warnings

None.

Example Usage

Code Block
languagecpp
          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);