iswblank


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



C(c) In a Nutshell
C in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596006977
EAN: 2147483647
Year: 2006
Pages: 473

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net