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 ISWGRAPH 3 1999-07-25 "GNU" "Linux Programmer's Manual"
16 iswgraph \- test for graphic wide character
19 .B #include <wctype.h>
21 .BI "int iswgraph(wint_t " wc );
24 The \fBiswgraph\fP function is the wide-character equivalent of the
25 \fBisgraph\fP function. It tests whether \fIwc\fP is a wide character
26 belonging to the wide character class "graph".
28 The wide character class "graph" is a subclass of the wide character class
31 Being a subclass of the wide character class "print", the wide character class
32 "graph" is disjoint from the wide character class "cntrl".
34 The wide character class "graph" is disjoint from the wide character class
35 "space" and therefore also disjoint from its subclass "blank".
36 .\" Note: UNIX98 (susv2/xbd/locale.html) says that "graph" and "space" may
37 .\" have characters in common, except U+0020. But ISO C99 (ISO/IEC 9899:1999
38 .\" section 7.25.2.1.10) says that "space" and "graph" are disjoint.
40 The wide character class "graph" contains all the wide characters from the
41 wide character class "print" except the space character. It therefore contains
42 the wide character classes "alnum" and "punct".
44 The \fBiswgraph\fP function returns non-zero if \fIwc\fP is a wide character
45 belonging to the wide character class "graph". Otherwise it returns zero.
52 The behaviour of \fBiswgraph\fP depends on the LC_CTYPE category of the