sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

isprintrune.c (220B)


      1 /* Automatically generated by mkrunetype.awk */
      2 #include "../utf.h"
      3 #include "runetype.h"
      4 
      5 int
      6 isprintrune(Rune r)
      7 {
      8 	return !iscntrlrune(r) && (r != 0x2028) && (r != 0x2029) &&
      9 	       ((r < 0xFFF9) || (r > 0xFFFB));
     10 }