iswdigit()

tests if wide character is a digit 

Function


SYNOPSIS

#include <wctype.h>

int iswdigit(wint_t wc);


DESCRIPTION

The iswdigit() function tests for any wide character that corresponds to a decimal-digit character.

The behavior of the iswdigit() function is affected by the current locale. To modify the behavior, change the LC_CTYPE category in setlocale(), that is, setlocale(LC_CTYPE, newlocale).


PARAMETERS

wc 

Is a wide character code corresponding to a valid character in the current locale or the value of the macro WEOF.


RETURN VALUES

The iswdigit() function returns non-zero for true and zero for false. If the parameter is not in the domain of the function, the behavior is undefined.


CONFORMANCE

ANSI/ISO 9899-1990/AM 1-1995.


MULTITHREAD SAFETY LEVEL

MT-Safe, with exceptions.

This function is MT-Safe as long as no thread calls setlocale() while this function is executing.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
iswalnum(), iswalpha(), iswcntrl(), iswgraph(), iswlower(), iswprint(), iswpunct(), iswspace(), iswupper(), iswxdigit(), setlocale()


MKS Toolkit 9.2 Documentation Build 16.