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 ISWDIGIT 3 1999-07-25 "GNU" "Linux Programmer's Manual"
16 iswdigit \- test for decimal digit wide character
19 .B #include <wctype.h>
21 .BI "int iswdigit(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 "digit".
32 The wide-character class "digit" is a subclass of the wide-character class
33 "xdigit", and therefore also a subclass
34 of the wide-character class "alnum", of
35 the wide-character class "graph" and of the wide-character class "print".
37 Being a subclass of the wide character
38 class "print", the wide-character class
39 "digit" is disjoint from the wide-character class "cntrl".
41 Being a subclass of the wide-character class "graph",
42 the wide-character class
43 "digit" is disjoint from the wide-character class "space" and its subclass
46 Being a subclass of the wide-character
47 class "alnum", the wide-character class
48 "digit" is disjoint from the wide-character class "punct".
50 The wide-character class "digit" is
51 disjoint from the wide-character class
52 "alpha" and therefore also disjoint from its subclasses "lower", "upper".
54 The wide-character class "digit" always
55 contains exactly the digits \(aq0\(aq to \(aq9\(aq.
59 function returns non-zero
60 if \fIwc\fP is a wide character
61 belonging to the wide-character class "digit".
62 Otherwise it returns zero.