Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


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