Test for a control wide character
#include <wctype.h> int iswcntrl( wint_t wc );
libc
The iswcntrl() function tests if the argument wc is a control wide character of the class cntrl. In the C locale, they are: ASCII characters 0 and 31 inclusive.
| 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.