for (cnt = 0; cnt < KERNEL_NCCS; ++cnt)
for (cnt = 0; cnt < __KERNEL_NCCS; ++cnt)
__tcgetattr (fd, termios_p)      int fd;      struct termios *termios_p;{  struct kernel_termios k_termios;  int retval;  size_t cnt;  retval = __ioctl (fd, TCGETS, &k_termios);  termios_p->c_iflag = k_termios.c_iflag;  termios_p->c_oflag = k_termios.c_oflag;  termios_p->c_cflag = k_termios.c_cflag;  termios_p->c_lflag = k_termios.c_lflag;  termios_p->c_line = k_termios.c_line;#ifdef _HAVE_C_ISPEED  termios_p->c_ispeed = k_termios.c_ispeed;#endif#ifdef _HAVE_C_OSPEED  termios_p->c_ospeed = k_termios.c_ospeed;#endif  for (cnt = 0; cnt < KERNEL_NCCS; ++cnt)    termios_p->c_cc[cnt] = k_termios.c_cc[cnt];  return retval;}