Blob


1 .TH ISALPHARUNE 3
2 .SH NAME
3 isalpharune, islowerrune, isspacerune, istitlerune, isupperrune, tolowerrune, totitlerune, toupperrune \- Unicode character classes and cases
4 .SH SYNOPSIS
5 .B #include <u.h>
6 .br
7 .B #include <libc.h>
8 .PP
9 .B
10 int isalpharune(Rune c)
11 .PP
12 .B
13 int islowerrune(Rune c)
14 .PP
15 .B
16 int isspacerune(Rune c)
17 .PP
18 .B
19 int istitlerune(Rune c)
20 .PP
21 .B
22 int isupperrune(Rune c)
23 .PP
24 .B
25 Rune tolowerrune(Rune c)
26 .PP
27 .B
28 Rune totitlerune(Rune c)
29 .PP
30 .B
31 Rune toupperrune(Rune c)
32 .SH DESCRIPTION
33 These routines examine and operate on Unicode characters,
34 in particular a subset of their properties as defined in the Unicode standard.
35 Unicode defines some characters as alphabetic and specifies three cases:
36 upper, lower, and title.
37 Analogously to
38 .MR isalpha (3)
39 for
40 .SM ASCII\c
41 ,
42 these routines
43 test types and modify cases for Unicode characters.
44 The names are self-explanatory.
45 .PP
46 The case-conversion routines return the character unchanged if it has no case.
47 .SH SOURCE
48 .B \*9/src/lib9/utf/runetype.c
49 .SH "SEE ALSO
50 .IR isalpha (3) ,
51 .IR "The Unicode Standard" .