thunk_termios
struct thunk_termios t;
int thunk_tcgetattr(int, struct thunk_termios *);
int thunk_tcsetattr(int, int, const struct thunk_termios *);
thunk_to_termios(const struct thunk_termios *tt, struct termios *t)
thunk_from_termios(const struct termios *t, struct thunk_termios *tt)
thunk_tcgetattr(int fd, struct thunk_termios *tt)
thunk_tcsetattr(int fd, int action, const struct thunk_termios *tt)