Versions Compared

Key

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

...

lib_ascii.h/lib_ascii.c

Prototypes

Code Block
languagecpp
          ASCII_IS_UPPER(ch);
           
          CPU_BOOLEAN  ASCII_IsUpper (CPU_CHAR  ch);


Arguments

ch

Character to examine.

...

ISO/IEC 9899:TC2, Section 7.4.1.11.(2) states that “isupper() returns true only for the uppercase letters”.

Example Usage

Code Block
languagecpp
          CPU_CHAR     ch;
          CPU_BOOLEAN  upper;


          ch    = ASCII_CHAR_LATIN_UPPER_G;
          upper = ASCII_IS_UPPER(ch);