Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer


int iswctype(
   wint_t c,
   wctype_t desc 

iswctype tests c for the property specified by the desc argument. For each valid value of desc, there is an equivalent wide-character classification routine.


Integer to test.
Property to test for. This is normally retrieved using wctype.

Return Value

iswctype returns a nonzero value if c has the property specified by desc, or 0 if it does not. The result of the test condition is independent of locale.


Routine Required header Compatibility
iswctype <ctype.h> or <wchar.h> ANSI, Win 98, Win Me, Win NT, Win 2000, Win XP

For additional compatibility information, see Compatibility in the Introduction.


All versions of the C run-time libraries.

See Also

Character Classification Routines | Locale Routines | is, isw Function Overview | Run-Time Routines and .NET Framework Equivalents

© 2015 Microsoft