Tests for a blank wide-character code.
#include <wctype.h>
int iswblank (wc)
wint_t wc;
int iswblank_l(wc, Locale)
wint_t wc;
locale_t Locale;
The iswblank and iswblank_l subroutines test whether the wc parameter is a wide-character code representing a character of class blank in the program's current locale or in the locale represented by Locale.
The wc parameter is a wint_t, the value of which the application ensures is a wide-character code corresponding to a valid character in the current locale, or equal to the value of the macro WEOF. If the parameter has any other value, the behavior is undefined.
Item | Description |
---|---|
wc | Specifies the value to be tested. |
Locale | Specifies the locale, in which the character is tested. |
The iswblank and iswblank_l subroutines return a nonzero value if the wc parameter is a blank wide-character code; otherwise, it returns a 0.