NAME
iswalnum — test
for an alphanumeric wide-character code
SYNOPSIS
#include <wctype.h> int iswalnum(wint_t wc);
DESCRIPTION
The iswalnum() function tests whether wc is a wide-character code representing a character of class alpha or digit in the program's current locale, see the XBD specification, Locale .
In all cases wc is a wint_t, the value of which must be a wide-character code corresponding to a valid character in the current locale or must equal the value of the macro WEOF. If the argument has any other value, the behaviour is undefined.
RETURN VALUE
The iswalnum() function returns non-zero if wc is an alphanumeric wide-character code; otherwise it returns 0.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
To ensure applications portability, especially across natural languages, only this function and those listed in the SEE ALSO section should be used for classification of wide-character codes.
FUTURE DIRECTIONS
None.
SEE ALSO
iswalpha(3) , iswcntrl(3) , iswdigit(3) , iswgraph(3) , iswlower(3) , iswprint(3) , iswpunct(3) , iswspace(3) , iswupper(3) , iswxdigit(3) , setlocale(3) , <wctype.h> , <wchar.h> , <stdio.h> , the XBD specification, Locale .