1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
14 .TH ISWCNTRL 3 1999-07-25 "GNU" "Linux Programmer's Manual"
16 iswcntrl \- test for control wide character
19 .B #include <wctype.h>
21 .BI "int iswcntrl(wint_t " wc );
26 function is the wide-character equivalent of the
29 It tests whether \fIwc\fP is a wide character
30 belonging to the wide-character class "cntrl".
32 The wide-character class "cntrl" is disjoint from the wide-character class
33 "print" and therefore also disjoint from its subclasses "graph", "alpha",
34 "upper", "lower", "digit", "xdigit", "punct".
36 For an unsigned char \fIc\fP, \fIiscntrl(c)\fP
37 implies \fIiswcntrl(btowc(c))\fP,
42 function returns nonzero if \fIwc\fP is a
43 wide character belonging to the wide-character class "cntrl".
44 Otherwise it returns zero.