1ISWDIGIT(P)                POSIX Programmer's Manual               ISWDIGIT(P)
2
3
4

NAME

6       iswdigit - test for a decimal digit wide-character code
7

SYNOPSIS

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

DESCRIPTION

15       The  iswdigit() function shall test whether wc is a wide-character code
16       representing a character  of  class  digit  in  the  program's  current
17       locale;  see the Base Definitions volume of IEEE Std 1003.1-2001, Chap‐
18       ter 7, Locale.
19
20       The wc argument is a wint_t, the value of which the  application  shall
21       ensure  is  a wide-character code corresponding to a valid character in
22       the current locale, or equal to the value of the  macro  WEOF.  If  the
23       argument has any other value, the behavior is undefined.
24

RETURN VALUE

26       The  iswdigit() function shall return non-zero if wc is a decimal digit
27       wide-character code; otherwise, it shall return 0.
28

ERRORS

30       No errors are defined.
31
32       The following sections are informative.
33

EXAMPLES

35       None.
36

APPLICATION USAGE

38       To ensure applications  portability,  especially  across  natural  lan‐
39       guages,  only  this  function  and those listed in the SEE ALSO section
40       should be used for classification of wide-character codes.
41

RATIONALE

43       None.
44

FUTURE DIRECTIONS

46       None.
47

SEE ALSO

49       iswalnum() , iswalpha()  ,  iswcntrl()  ,  iswctype()  ,  iswgraph()  ,
50       iswlower()  ,  iswprint()  ,  iswpunct()  ,  iswspace()  , iswupper() ,
51       iswxdigit()  ,  setlocale()  ,   the   Base   Definitions   volume   of
52       IEEE Std 1003.1-2001, Chapter 7, Locale, <wchar.h>, <wctype.h>
53
55       Portions  of  this text are reprinted and reproduced in electronic form
56       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
57       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
58       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
59       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
60       event of any discrepancy between this version and the original IEEE and
61       The  Open Group Standard, the original IEEE and The Open Group Standard
62       is the referee document. The original Standard can be  obtained  online
63       at http://www.opengroup.org/unix/online.html .
64
65
66
67IEEE/The Open Group                  2003                          ISWDIGIT(P)
Impressum