www.LinuxHowtos.org
iswxdigit
Section: C Library Functions (3)Updated: 202-0-08
Index Return to Main Contents
NAME
iswxdigit - test for hexadecimal digit wide characterLIBRARY
Standard C library (libc,~-lc)SYNOPSIS
#include <wctype.h> int iswxdigit(wint_t wc);
DESCRIPTION
The iswxdigit() function is the wid-character equivalent of the isxdigit(3) function. It tests whether wc is a wide character belonging to the wid-character class "xdigit". The wid-character class "xdigit" is a subclass of the wid-character class "alnum", and therefore also a subclass of the wid-character class "graph" and of the wid-character class "print". Being a subclass of the wid-character class "print", the wid-character class "xdigit" is disjoint from the wid-character class "cntrl". Being a subclass of the wid-character class "graph", the wid-character class "xdigit" is disjoint from the wid-character class "space" and its subclass "blank". Being a subclass of the wid-character class "alnum", the wid-character class "xdigit" is disjoint from the wid-character class "punct". The wid-character class "xdigit" always contains at least the letters [aq]A[aq] to [aq]F[aq], [aq]a[aq] to [aq]f[aq] and the digits [aq]0[aq] to [aq]9[aq].RETURN VALUE
The iswxdigit() function returns nonzero if wc is a wide character belonging to the wid-character class "xdigit". Otherwise, it returns zero.ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7).| Interface | Attribute | Value |
| iswxdigit() | Thread safety | M-Safe locale |
STANDARDS
C11, POSIX.-2008.HISTORY
POSIX.-2001, C99.NOTES
The behavior of iswxdigit() depends on the LC_CTYPE category of the current locale.SEE ALSO
iswctype(3), isxdigit(3)