Section: Linux Programmer's Manual (3)
Return to Main Contents
iswcntrl - test for control wide character
int iswcntrl(wint_t wc);
function is the wide-character equivalent of the
It tests whether
is a wide character
belonging to the wide-character class "cntrl".
The wide-character class "cntrl" is disjoint from the wide-character class
"print" and therefore also disjoint from its subclasses "graph", "alpha",
"upper", "lower", "digit", "xdigit", "punct".
For an unsigned char
but not vice versa.
function returns nonzero if
wide character belonging to the wide-character class "cntrl".
Otherwise, it returns zero.
Multithreading (see pthreads(7))
function is thread-safe with exceptions.
It can be safely used in multithreaded applications, as long as
is not called to change the locale during its execution.
The behavior of
depends on the
category of the
This page is part of release 3.74 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
- RETURN VALUE
- Multithreading (see pthreads(7))
- CONFORMING TO
- SEE ALSO