iswdigit()

Test a wide character to see if it's a decimal digit

Synopsis:

#include <wctype.h>

int iswdigit( wint_t wc );

Arguments:

wc
The wide character that you want to test.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The iswdigit() function tests if the argument wc is a decimal digit wide character of the class digit. In the C locale, this class consists of the characters 0 through 9.

Returns:

A nonzero value if the character is a member of the class digit, or 0 otherwise.

Classification:

ANSI, POSIX 1003.1

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

Caveats:

The result is valid only for wchar_t arguments and WEOF.

See also:

isdigit(), iswalnum(), iswalpha(), iswcntrl(), iswctype(), iswgraph(), iswlower(), iswprint(), iswpunct(), iswspace(), iswupper(), iswxdigit(), setlocale()