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