Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/doc/UniCharIsAlpha.3 @ 25

Last change on this file since 25 was 25, checked in by landauf, 16 years ago

added tcl to libs

File size: 2.6 KB
Line 
1'\"
2'\" Copyright (c) 1997 Sun Microsystems, Inc.
3'\"
4'\" See the file "license.terms" for information on usage and redistribution
5'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6'\"
7'\" RCS: @(#) $Id: UniCharIsAlpha.3,v 1.5 2007/12/13 15:22:32 dgp Exp $
8'\"
9.so man.macros
10.TH Tcl_UniCharIsAlpha 3 "8.1" Tcl "Tcl Library Procedures"
11.BS
12.SH NAME
13Tcl_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
14.SH SYNOPSIS
15.nf
16\fB#include <tcl.h>\fR
17.sp
18int
19\fBTcl_UniCharIsAlnum\fR(\fIch\fR)
20.sp
21int
22\fBTcl_UniCharIsAlpha\fR(\fIch\fR)
23.sp
24int
25\fBTcl_UniCharIsControl\fR(\fIch\fR)
26.sp
27int
28\fBTcl_UniCharIsDigit\fR(\fIch\fR)
29.sp
30int
31\fBTcl_UniCharIsGraph\fR(\fIch\fR)
32.sp
33int
34\fBTcl_UniCharIsLower\fR(\fIch\fR)
35.sp
36int
37\fBTcl_UniCharIsPrint\fR(\fIch\fR)
38.sp
39int
40\fBTcl_UniCharIsPunct\fR(\fIch\fR)
41.sp
42int
43\fBTcl_UniCharIsSpace\fR(\fIch\fR)
44.sp
45int
46\fBTcl_UniCharIsUpper\fR(\fIch\fR)
47.sp
48int
49\fBTcl_UniCharIsWordChar\fR(\fIch\fR)
50.SH ARGUMENTS
51.AS int ch
52.AP int ch in
53The Tcl_UniChar to be examined.
54.BE
55
56.SH DESCRIPTION
57.PP
58All of the routines described examine Tcl_UniChars and return a
59boolean value. A non-zero return value means that the character does
60belong to the character class associated with the called routine. The
61rest of this document just describes the character classes associated
62with the various routines.
63.PP
64Note: A Tcl_UniChar is a Unicode character represented as an unsigned,
65fixed-size quantity.
66
67.SH "CHARACTER CLASSES"
68.PP
69\fBTcl_UniCharIsAlnum\fR tests if the character is an alphanumeric Unicode character.
70.PP
71\fBTcl_UniCharIsAlpha\fR tests if the character is an alphabetic Unicode character.
72.PP
73\fBTcl_UniCharIsControl\fR tests if the character is a Unicode control character.
74.PP
75\fBTcl_UniCharIsDigit\fR tests if the character is a numeric Unicode character.
76.PP
77\fBTcl_UniCharIsGraph\fR tests if the character is any Unicode print character except space.
78.PP
79\fBTcl_UniCharIsLower\fR tests if the character is a lowercase Unicode character.
80.PP
81\fBTcl_UniCharIsPrint\fR tests if the character is a Unicode print character.
82.PP
83\fBTcl_UniCharIsPunct\fR tests if the character is a Unicode punctuation character.
84.PP
85\fBTcl_UniCharIsSpace\fR tests if the character is a whitespace Unicode character.
86.PP
87\fBTcl_UniCharIsUpper\fR tests if the character is an uppercase Unicode character.
88.PP
89\fBTcl_UniCharIsWordChar\fR tests if the character is alphanumeric or
90a connector punctuation mark.
91
92.SH KEYWORDS
93unicode, classification
Note: See TracBrowser for help on using the repository browser.