iswblank()

Test a wide character to see if it's a blank character

Synopsis:

#include <wctype.h>

int iswblank( wint_t wc );

Arguments:

wc
The wide character you want to test. This argument must be a wide-character code that corresponds to a valid character in the current locale, or must be WEOF; otherwise, the function's behavior is undefined.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The iswblank() function tests if the argument wc is a wide character of the class blank. In the C locale, this class includes the space character and \t (horizontal tab).

Returns:

A nonzero value if the character is a member of the class blank, or 0 otherwise.

Classification:

ANSI, POSIX 1003.1

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

Caveats:

The result is valid only for wchar_t arguments and WEOF.

See also:

isblank(), iswalnum(), iswalpha(), iswcntrl(), iswctype(), iswdigit(), iswgraph(), iswlower(), iswprint(), iswpunct(), iswspace(), iswupper(), iswxdigit(), setlocale()