1ISWCNTRL(3)                Linux Programmer's Manual               ISWCNTRL(3)
2
3
4

NAME

6       iswcntrl - test for control wide character
7

SYNOPSIS

9       #include <wctype.h>
10
11       int iswcntrl(wint_t wc);
12

DESCRIPTION

14       The  iswcntrl()  function is the wide-character equivalent of the iscn‐
15       trl() function. It tests whether wc is a wide  character  belonging  to
16       the wide character class "cntrl".
17
18       The  wide  character  class "cntrl" is disjoint from the wide character
19       class "print" and therefore also disjoint from its subclasses  "graph",
20       "alpha", "upper", "lower", "digit", "xdigit", "punct".
21
22       For  an unsigned char c, iscntrl(c) implies iswcntrl(btowc(c)), but not
23       vice versa.
24

RETURN VALUE

26       The iswcntrl() function returns non-zero if  wc  is  a  wide  character
27       belonging  to  the  wide  character class "cntrl". Otherwise it returns
28       zero.
29

CONFORMING TO

31       C99.
32

SEE ALSO

34       iscntrl(3), iswctype(3)
35

NOTES

37       The behaviour of iswcntrl() depends on the  LC_CTYPE  category  of  the
38       current locale.
39
40
41
42GNU                               1999-07-25                       ISWCNTRL(3)
Impressum