Test for a printable wide character
#include <wctype.h> int iswprint( wint_t wc );
libc
The iswprint() function tests if the argument wc is a printable wide character of the class print. In the C locale, they are: Any printable character including the space character.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
The result is valid only for char arguments and WEOF.
"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.