Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

iswalnum(3) Guardian Native C Library Calls Reference Manual
NAME
iswalnum - Tests for an alphanumeric wide character
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
H-series OSS processes: /G/system/zdllnnn/zcrtldll
SYNOPSIS
#include <ctype.h>
int iswalnum(
wint_t wc);
PARAMETER
wc Species a wide character for testing.
DESCRIPTION
This function tests a wide character wc for membership in the alphanumeric character class in the
current locale. If the wide character is part of the character class, the function returns a nonzero
value for true; otherwise, it returns a value of 0 (zero) for false.
The function returns a true value when wc is a character of class alpha or class digit in the
programs current locale.
NOTES
This function determines the class of a wide character based on the LC_CTYPE locale category.
RETURN VALUES
If the wide character tested is part of the particular character class, this function returns a
nonzero value; otherwise it returns a value of 0 (zero).
ERRORS
None. This function does not set errno.
RELATED INFORMATION
Functions: isalnum(3), iswalpha(3), iswcntrl(3), iswctype(3), iswdigit(3), iswgraph(3),
iswlower(3), iswprint(3), iswpunct(3), iswspace(3), iswupper(3), iswxdigit(3), setlocale(3).
Files: locale(4).
374 Hewlett-Packard Company 527192-007