wctype

Returns a character class value that can be used in the iswctype function.

Library:LibC
Classification:ANSI
Service:Characters and Strings

Syntax

  #include <wctype.h>    
   
  wctype_t  wctype (
     const char   *classString);
  

Parameters

classString

(IN) Points to a string, specifying a character class. The following strings are supported:

"alnum"

"digit"

"punct"

"alpha"

"graph"

"space"

"blank"

"lower"

"upper"

"cntrl"

"print"

"xdigit"

Return Values

Returns the character class for the specified string. For possible return values, see Section 12.3, Wide Character Classes.

See Also