Introduction
Introduction Statistics Contact Development Disclaimer Help
iscntrlrune.c - sbase - suckless unix tools
git clone git://git.suckless.org/sbase
Log
Files
Refs
README
LICENSE
---
iscntrlrune.c (310B)
---
1 /* Automatically generated by mkrunetype.awk */
2 #include <stdlib.h>
3
4 #include "../utf.h"
5 #include "runetype.h"
6
7 static const Rune cntrl2[][2] = {
8 { 0x0000, 0x001F },
9 { 0x007F, 0x009F },
10 };
11
12 int
13 iscntrlrune(Rune r)
14 {
15 if(bsearch(&r, cntrl2, nelem(cntrl2), sizeof *cntrl2, &rune2cmp))
16 return 1;
17 return 0;
18 }
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.