Previous Page
Next Page

iswblank

Ascertains whether a given wide character is a space or tab character

#include <wctype.h>
int iswblank ( wint_t wc  );

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( )


Previous Page
Next Page