/
ASCII_IS_BLANK() / ASCII_IsBlank()
ASCII_IS_BLANK() / ASCII_IsBlank()
Determines whether a character is a standard blank character.
Files
lib_ascii.h/lib_ascii.c
Prototypes
ASCII_IS_BLANK(ch); CPU_BOOLEAN ASCII_IsBlank (CPU_CHAR ch);
Arguments
ch
Character to examine.
Returned Value
DEF_YES
,
if character is a standard blank character;
DEF_NO
,
if character is not a standard blank character.
Required Configuration
None.
Notes / Warnings
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
CPU_CHAR ch; CPU_BOOLEAN blank; ch = ASCII_CHAR_LINE_FEED; blank = ASCII_IS_BLANK(ch);
Related content
ASCII_IS_SPACE() / ASCII_IsSpace()
ASCII_IS_SPACE() / ASCII_IsSpace()
More like this
ASCII_IS_PRINT() / ASCII_IsPrint()
ASCII_IS_PRINT() / ASCII_IsPrint()
More like this
ASCII_IS_PUNCT() / ASCII_IsPunct()
ASCII_IS_PUNCT() / ASCII_IsPunct()
More like this
ASCII_IS_GRAPH() / ASCII_IsGraph()
ASCII_IS_GRAPH() / ASCII_IsGraph()
More like this
ASCII_IS_CTRL() / ASCII_IsCtrl()
ASCII_IS_CTRL() / ASCII_IsCtrl()
More like this
ASCII_IS_ALPHA_NUM() / ASCII_IsAlphaNum()
ASCII_IS_ALPHA_NUM() / ASCII_IsAlphaNum()
More like this