UniCharIsAlpha.3
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:3k
- '"
- '" Copyright (c) 1997 Sun Microsystems, Inc.
- '"
- '" See the file "license.terms" for information on usage and redistribution
- '" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
- '"
- '" RCS: @(#) $Id: UniCharIsAlpha.3,v 1.2 2001/05/03 23:59:01 hobbs Exp $
- '"
- .so man.macros
- .TH Tcl_UniCharIsAlpha 3 "8.1" Tcl "Tcl Library Procedures"
- .BS
- .SH 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
- .SH SYNOPSIS
- .nf
- fB#include <tcl.h>fR
- .sp
- int
- fBTcl_UniCharIsAlnumfR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsAlphafR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsControlfR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsDigitfR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsGraphfR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsLowerfR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsPrintfR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsPunctfR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsSpacefR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsUpperfR(fIchfR)
- .sp
- int
- fBTcl_UniCharIsWordCharfR(fIchfR)
- .SH ARGUMENTS
- .AP int ch in
- The Tcl_UniChar to be examined.
- .BE
- .SH DESCRIPTION
- .PP
- 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.
- .PP
- Note: A Tcl_UniChar is a Unicode character represented as an unsigned,
- fixed-size quantity.
- .SH CHARACTER CLASSES
- .PP
- fBTcl_UniCharIsAlnumfR tests if the character is an alphanumeric Unicode character.
- .PP
- fBTcl_UniCharIsAlphafR tests if the character is an alphabetic Unicode character.
- .PP
- fBTcl_UniCharIsControlfR tests if the character is a Unicode control character.
- .PP
- fBTcl_UniCharIsDigitfR tests if the character is a numeric Unicode character.
- .PP
- fBTcl_UniCharIsGraphfR tests if the character is any Unicode print character except space.
- .PP
- fBTcl_UniCharIsLowerfR tests if the character is a lowercase Unicode character.
- .PP
- fBTcl_UniCharIsPrintfR tests if the character is a Unicode print character.
- .PP
- fBTcl_UniCharIsPunctfR tests if the character is a Unicode punctuation character.
- .PP
- fBTcl_UniCharIsSpacefR tests if the character is a whitespace Unicode character.
- .PP
- fBTcl_UniCharIsUpperfR tests if the character is an uppercase Unicode character.
- .PP
- fBTcl_UniCharIsWordCharfR tests if the character is alphanumeric or
- a connector punctuation mark.
- .SH KEYWORDS
- unicode, classification