iswctype

Name

iswctype -- wide character classification

Synopsis

#include <wctype.h>

int iswctype(wint_t wc, wctype_t desc);

Description

iswctype tests wc to determine if it is a wide character whose property is designated by the character class desc.

desc must be a character property descriptor returned by the wctype function.

Return Value

If wc belongs to the character class desc, a non-ZERO value is returned. Otherwise, 0 is returned.

Note that if wc is WEOF, 0 is returned.

Notes

The behavior of iswctype depends on the LC_CTYPE category of the current locale.