Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

iswctype(3) Guardian Native C Library Calls Reference Manual
NAME
iswctype - Determines the properties of a wide character
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZCRTLSRL
G-series native OSS processes: /G/system/sysnn/zcrtlsrl
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCRTLDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcrtldll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycrtldll
SYNOPSIS
#include <wchar.h>
int iswctype(
wint_t wc,
wctype_t wc_prop);
PARAMETERS
wc Specifies the wide character to be tested.
wc_prop Species the property to be tested for.
DESCRIPTION
The iswctype() function tests the wide character specied by the wc parameter to determine if it
has the property specified by the wc_prop parameter. The wctype( ) function associates a charac-
ter property with a wctype_t handle. Get the value of the wc_proc parameter from a call to
wctype() before using it in a call to iswctype().
NOTES
The iswctype() function is defined for the wide-character null and for values in the character
range of the current code set defined in the current locale.
RETURN VALUES
If the wc parameter has the property specified by the wc_prop parameter, the iswctype() function
returns a nonzero value. If the value specified by the wc parameter does not have the property
specified by the wc_prop parameter, the iswctype() function returns a value of 0 (zero). If the
value specified by the wc parameter is not in the function’s domain, the result is undefined. If the
value specified by the wc_prop parameter is not valid, the result is undefined.
The value of the wctype parameter can be invalid because it has not obtained by a call to the
wctype() function, or it can be invalidated by an intervening call to the setlocale() function that
has affected the LC_CTYPE environment variable.
RELATED INFORMATION
Functions: isalnum(3), wctype(3), setlocale(3), iswalnum(3).
3126 Hewlett-Packard Company 527192-018