1ISWDIGIT(3)                Linux Programmer's Manual               ISWDIGIT(3)
2
3
4

NAME

6       iswdigit - test for decimal digit wide character
7

SYNOPSIS

9       #include <wctype.h>
10
11       int iswdigit(wint_t wc);
12

DESCRIPTION

14       The  iswdigit()  function  is  the  wide-character  equivalent  of  the
15       isdigit(3) function.  It tests whether wc is a wide character belonging
16       to the wide-character class "digit".
17
18       The  wide-character  class  "digit" is a subclass of the wide-character
19       class "xdigit", and therefore also a  subclass  of  the  wide-character
20       class  "alnum",  of  the  wide-character class "graph" and of the wide-
21       character class "print".
22
23       Being a subclass of the wide character class "print", the  wide-charac‐
24       ter class "digit" is disjoint from the wide-character class "cntrl".
25
26       Being  a subclass of the wide-character class "graph", the wide-charac‐
27       ter class "digit" is disjoint from the wide-character class "space" and
28       its subclass "blank".
29
30       Being  a subclass of the wide-character class "alnum", the wide-charac‐
31       ter class "digit" is disjoint from the wide-character class "punct".
32
33       The wide-character class "digit" is disjoint  from  the  wide-character
34       class  "alpha" and therefore also disjoint from its subclasses "lower",
35       "upper".
36
37       The wide-character class "digit" always contains exactly the digits '0'
38       to '9'.
39

RETURN VALUE

41       The  iswdigit()  function  returns  nonzero  if  wc is a wide character
42       belonging to the wide-character class "digit".   Otherwise  it  returns
43       zero.
44

CONFORMING TO

46       C99.
47

NOTES

49       The behavior of iswdigit() depends on the LC_CTYPE category of the cur‐
50       rent locale.
51

SEE ALSO

53       isdigit(3), iswctype(3)
54

COLOPHON

56       This page is part of release 3.53 of the Linux  man-pages  project.   A
57       description  of  the project, and information about reporting bugs, can
58       be found at http://www.kernel.org/doc/man-pages/.
59
60
61
62GNU                               1999-07-25                       ISWDIGIT(3)
Impressum