次の方法で共有


iswctype

intiswctype(wint_tc**,wctype_tdesc);**

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.

Routine Required Header Compatibility
iswctype <ctype.h> or <wchar.h> ANSI, Win 95, Win NT

For additional compatibility information, see Compatibility in the Introduction.

Libraries

LIBC.LIB Single thread static library, retail version
LIBCMT.LIB Multithread static library, retail version
MSVCRT.LIB Import library for MSVCRT.DLL, retail version

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.

Parameters

c

Integer to test

desc

Property to test for

Character Classification RoutinesLocale Routinesis, isw Function Overview