![]() |
![]() |
![]() |
Test for a decimal digit
#include <wctype.h> int iswdigit( wint_t wc );
libc
The iswdigit() function tests if the argument wc is a decimal digit wide character of the class digit. In the C locale, they are: 0 to 9.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
The result is valid only for char arguments and WEOF.
"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.
![]() |
![]() |
![]() |