iswalnum

iswalnum

Defined in header <wctype.h>
int iswalnum( wint_t ch );
(since C95)

Checks if the given wide character is an alphanumeric character, i.e. either a number (0123456789), an uppercase letter (ABCDEFGHIJKLMNOPQRSTUVWXYZ), a lowercase letter (abcdefghijklmnopqrstuvwxyz) or any alphanumeric character specific to the current locale.

Parameters

ch - wide character

Return value

Non-zero value if the wide character is a alphanumeric character, zero otherwise.

登录查看完整内容