2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .TH iswdigit 3 (date) "Linux man-pages (unreleased)"
14 iswdigit \- test for decimal digit wide character
17 .RI ( libc ", " \-lc )
20 .B #include <wctype.h>
22 .BI "int iswdigit(wint_t " wc );
27 function is the wide-character equivalent of the
33 belonging to the wide-character class "digit".
35 The wide-character class "digit" is a subclass of the wide-character class
36 "xdigit", and therefore also a subclass
37 of the wide-character class "alnum", of
38 the wide-character class "graph" and of the wide-character class "print".
40 Being a subclass of the wide character
41 class "print", the wide-character class
42 "digit" is disjoint from the wide-character class "cntrl".
44 Being a subclass of the wide-character class "graph",
45 the wide-character class
46 "digit" is disjoint from the wide-character class "space" and its subclass
49 Being a subclass of the wide-character
50 class "alnum", the wide-character class
51 "digit" is disjoint from the wide-character class "punct".
53 The wide-character class "digit" is
54 disjoint from the wide-character class
55 "alpha" and therefore also disjoint from its subclasses "lower", "upper".
57 The wide-character class "digit" always
58 contains exactly the digits \[aq]0\[aq] to \[aq]9\[aq].
62 function returns nonzero
66 belonging to the wide-character class "digit".
67 Otherwise, it returns zero.
69 For an explanation of the terms used in this section, see
75 Interface Attribute Value
80 T} Thread safety MT-Safe locale