Tcl Library Procedures Tcl_UniCharIsAlpha(3TCL)
_________________________________________________________________
NAME
Tcl_UniCharIsAlnum, Tcl_UniCharIsAlpha,
Tcl_UniCharIsControl, Tcl_UniCharIsDigit,
Tcl_UniCharIsGraph, Tcl_UniCharIsLower, Tcl_UniCharIsPrint,
Tcl_UniCharIsPunct, Tcl_UniCharIsSpace, Tcl_UniCharIsUpper,
Tcl_UniCharIsWordChar - routines for classification of
Tcl_UniChar characters
SYNOPSIS
#include
intTcl_UniCharIsAlnum(ch)
intTcl_UniCharIsAlpha(ch)
intTcl_UniCharIsControl(ch)
intTcl_UniCharIsDigit(ch)
intTcl_UniCharIsGraph(ch)
intTcl_UniCharIsLower(ch)
intTcl_UniCharIsPrint(ch)
intTcl_UniCharIsPunct(ch)
intTcl_UniCharIsSpace(ch)
intTcl_UniCharIsUpper(ch)
intTcl_UniCharIsWordChar(ch)
ARGUMENTSint ch (in) The Tcl_UniChar to
be examined._________________________________________________________________
Tcl Last change: 8.1 1Tcl Library Procedures Tcl_UniCharIsAlpha(3TCL)
DESCRIPTION
All of the routines described examine Tcl_UniChars and
return a boolean value. A non-zero return value means that
the character does belong to the character class associated with the called routine. The rest of this document just describes the character classes associated with the various routines.Note: A Tcl_UniChar is a Unicode character represented as an
unsigned, fixed-size quantity.
CHARACTER CLASSESTcl_UniCharIsAlnum tests if the character is an alphanumeric
Unicode character.Tcl_UniCharIsAlpha tests if the character is an alphabetic
Unicode character.Tcl_UniCharIsControl tests if the character is a Unicode
control character.Tcl_UniCharIsDigit tests if the character is a numeric
Unicode character.Tcl_UniCharIsGraph tests if the character is any Unicode
print character except space.Tcl_UniCharIsLower tests if the character is a lowercase
Unicode character.Tcl_UniCharIsPrint tests if the character is a Unicode print
character.Tcl_UniCharIsPunct tests if the character is a Unicode punc-
tuation character.Tcl_UniCharIsSpace tests if the character is a whitespace
Unicode character.Tcl_UniCharIsUpper tests if the character is an uppercase
Unicode character.Tcl_UniCharIsWordChar tests if the character is alphanumeric
or a connector punctuation mark. KEYWORDS unicode, classificationATTRIBUTES
See attributes(5) for descriptions of the following Tcl Last change: 8.1 2Tcl Library Procedures Tcl_UniCharIsAlpha(3TCL)
attributes:_______________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE|
|____________________|__________________|_
| Availability | runtime/tcl-8 |
|____________________|__________________|_
| Interface Stability| Uncommitted ||____________________|_________________|
NOTES Source for Tcl is available on http://opensolaris.org. Tcl Last change: 8.1 3