public static extern int tcsetattr(int fd, SetActionFlags optActions, ref termios termios);
public static extern int tcgetattr(int fd, out termios termios);