Test character for a specified class.
The twelve strings - "alnum", "alpha", "blank" "cntrl", "digit", "graph", "lower", "print", "punct", "space", "upper" and "xdigit" - are reserved for the standard character classes. For example, the function "iswalnum(wc, &pResult)" is equivalent to "iswctype(wc, wctype("alnum"), &pResult)" and the function "iswalpha(wc, &pResult)" is equivalent to "iswctype(wc, wctype("alpha"), &pResult)".
- Parameters
-
wc | [ in ] A single wide character. |
charClass | [ in ] Output value of the wctype() function. |
pResult | [ out ] Pointer to a boolean variable where P6TRUE is written if wc is a hexadecimal digit wide-character code. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | One of the parameters is NULL. |
P6R::eNotInitialized | A successful call to initialize was not made before this call. |