unitype

Classifies the character passed in ch as having one or more noteworthy characteristics.

Library:LibC
Service:Characters and Strings

Syntax

  #include <unilib.h> 
   
  UniClass_t unitype (
     unicode_t   ch);
  

Parameters

ch

(IN) Points to the character to type.

Return Values

Returns a set of classifications or UNI_UNDEF. For the list of recognized characteristics, see Section 12.2, Unicode Character Classifications.

Remarks

The classifications returned by unitype parallel those in ISO standard ctype.h, but are not guaranteed to be exactly those, accurate, or conforming to any particular standard. This is an experimental interface to see if such classification can be done. It may be obsoleted if it proves less than useful or accurate.

See Also