blob: 8d487ce82bc9a65b8c70c935b03a1631859d5c5c [file] [log] [blame]
Alexander Gutkin439f3d12014-02-28 11:33:45 +00001.deEX
2.ift .ft5
3.nf
4..
5.deEE
6.ft1
7.fi
8..
9.TH ISALPHARUNE 3
10.SH NAME
11isalpharune, islowerrune, isspacerune, istitlerune, isupperrune, tolowerrune, totitlerune, toupperrune \- Unicode character classes and cases
12.SH SYNOPSIS
13.B #include <utf.h>
14.PP
15.B
16int isalpharune(Rune c)
17.PP
18.B
19int islowerrune(Rune c)
20.PP
21.B
22int isspacerune(Rune c)
23.PP
24.B
25int istitlerune(Rune c)
26.PP
27.B
28int isupperrune(Rune c)
29.PP
30.B
31Rune tolowerrune(Rune c)
32.PP
33.B
34Rune totitlerune(Rune c)
35.PP
36.B
37Rune toupperrune(Rune c)
38.SH DESCRIPTION
39These routines examine and operate on Unicode characters,
40in particular a subset of their properties as defined in the Unicode standard.
41Unicode defines some characters as alphabetic and specifies three cases:
42upper, lower, and title.
43Analogously to
44.IR isalpha (3)
45for
46.SM ASCII\c
47,
48these routines
49test types and modify cases for Unicode characters.
50The names are self-explanatory.
51.PP
52The case-conversion routines return the character unchanged if it has no case.
53.SH SOURCE
54.B http://swtch.com/plan9port/unix
55.SH "SEE ALSO
56.IR isalpha (3) ,
57.IR "The Unicode Standard" .