public int cfsetospeed(Termios termios, int speed) {
   termios t = new termios(termios);
   int ret = m_Clib.cfsetospeed(t, speed);
   t.update(termios);
   return ret;
 }
 public int tcgetattr(int fd, Termios termios) {
   termios t = new termios();
   int ret = m_Clib.tcgetattr(fd, t);
   t.update(termios);
   return ret;
 }
 public void cfmakeraw(Termios termios) {
   termios t = new termios(termios);
   m_Clib.cfmakeraw(t);
   t.update(termios);
 }