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() 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  non-zero  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

SEE ALSO

49       isdigit(3), iswctype(3)
50

NOTES

52       The  behaviour  of  iswdigit()  depends on the LC_CTYPE category of the
53       current locale.
54
55
56
57GNU                               1999-07-25                       ISWDIGIT(3)
Impressum