An integer type capable of storing any wide character value or the special value WEOF, used in wide-character input/output functions.
1st Parameter
The wide character to be tested, passed as a `wint_t`
Read more about parameters of iswspace in parameters section
The iswspacefunction in C language Checks whether the wide character is a whitespace character.
The iswspace function tests whether wc is a wide character code representing a whitespace character. In many locales, this includes the standard space, form feed, newline, carriage return, horizontal tab, and vertical tab.
The iswspacefunction takes 1
parameter:
•
wint_t `wc`: The wide character to be tested, passed as a `wint_t`
Checks if the given wide character `wc` is a whitespace character. Whitespace characters include spaces, tabs, newlines, and similar characters in the wide character set. Returns a nonzero value if `wc` is whitespace, and `0` otherwise.
The iswspace function return value :
Returns non-zero if the wide character is a whitespace character, 0 otherwise
Output
This example demonstrates basic usage of iswspace with various wide characters, including non-ASCII whitespace.