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(3) 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 nonzero  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

NOTES

34       The behavior of iswcntrl() depends on the LC_CTYPE category of the cur‐
35       rent locale.
36

SEE ALSO

38       iscntrl(3), iswctype(3)
39

COLOPHON

41       This  page  is  part of release 3.25 of the Linux man-pages project.  A
42       description of the project, and information about reporting  bugs,  can
43       be found at http://www.kernel.org/doc/man-pages/.
44
45
46
47GNU                               1999-07-25                       ISWCNTRL(3)
Impressum