Beispiel #1
0
 public int tcgetattr(int fd, Termios termios) {
   Port port = getPort(fd);
   if (port == null) return -1;
   termios.set(port.m_Termios);
   return 0;
 }