iscntrl.c raw

   1  #include <ctype.h>
   2  
   3  int iscntrl(int c)
   4  {
   5  	return (unsigned)c < 0x20 || c == 0x7f;
   6  }
   7  
   8  int __iscntrl_l(int c, locale_t l)
   9  {
  10  	return iscntrl(c);
  11  }
  12  
  13  weak_alias(__iscntrl_l, iscntrl_l);
  14