iswalnum
![]() |
![]() |
![]() |
![]() |
iswalnum()
Test a wide character to see if it's alphanumeric
Synopsis:
#include <wctype.h> int iswalnum( wint_t wc );
Arguments:
- wc
- The wide character 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 iswalnum() function tests if the argument wc is an alphanumeric wide character of the class alpha or digit. In the C locale, they're a to z, A to Z, 0 to 9.
Returns:
A nonzero value if the character is a member of the class alpha or digit, or 0 otherwise.
Classification:
| 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:
"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
