![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Test a wide character to see if it's a control character
#include <wctype.h> int iswcntrl( wint_t wc );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The iswcntrl() function tests if the argument wc is a control wide character of the class cntrl. In the C locale, this class consists of the ASCII characters from 0 through 31.
A nonzero value if the character is a member of the class cntrl, or 0 otherwise.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
The result is valid only for wchar_t arguments and WEOF.
"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.
![]() |
![]() |
![]() |
![]() |