Name
iswblank
Synopsis
Ascertains whether a given wide character is a space or tab character
#include <wctype.h> intiswblank( wint_twc);
The iswblank() function is
the wide-character version of the isblank() character classification
function. It tests whether its wide character argument is either a
space or a tab character. In the default locale C, iswblank() returns a nonzero value (that
is, true) only for the argument
values L' ' (space) and L'\t' (horizontal tab); these are called
the standard blank wide characters. In other locales, iswblank() may also be true for other wide
characters for which iswspace()
also returns true.
Example
See the example for iswalpha() in this
chapter.
See Also
The corresponding function for byte characters, isblank(); iswalnum(), iswalpha(), iswcntrl(), iswdigit(), iswgraph(), iswlower(), iswprint(), iswpunct(), iswspace(), iswupper(), iswxdigit(), setlocale(); the
extensible wide-character classification function, iswctype()
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access