Versions Compared

Key

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

...

lib_ascii.h/lib_ascii.c

Prototypes

Code Block
LanguageC++
CaptionTextCAPTION
languagecpp
          ASCII_IS_BLANK(cch);
           
          CPU_BOOLEAN  ASCII_IsBlank (CPU_CHAR  cch);



Arguments

cch

Character to examine.

Returned Value

...

ISO/IEC 9899:TC2, Section 7.4.1.3.(2) states that “isblank() returns true only for the standard blank characters”. ISO/IEC 9899:TC2, Section 7.4.1.3.(2) defines “the standard blank characters” as the “space (' '), and horizontal tab ('\t')”.

Example Usage

Code Block
LanguageC++
CaptionTextCAPTION
languagecpp
          CPU_CHAR     cch;
          CPU_BOOLEAN  blank;


                  ch  c     = ASCII_CHAR_LINE_FEED;
          blank = ASCII_IS_BLANK(cch);