• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <wctype.h>
2 
iswcntrl(wint_t wc)3 int iswcntrl(wint_t wc)
4 {
5 	return (unsigned)wc < 32
6 	    || (unsigned)(wc-0x7f) < 33
7 	    || (unsigned)(wc-0x2028) < 2
8 	    || (unsigned)(wc-0xfff9) < 3;
9 }
10 
__iswcntrl_l(wint_t c,locale_t l)11 int __iswcntrl_l(wint_t c, locale_t l)
12 {
13 	return iswcntrl(c);
14 }
15 
16 weak_alias(__iswcntrl_l, iswcntrl_l);
17