pub fn get_termios_snapshot() -> KernelTermios
Get a snapshot of the current termios (for the ioctl handler).