Lines Matching defs:termios
201 use libc::{termios, TCGETS, TCSBRK, TCSETS, TIOCNXCL};
214 ioctl_read_bad!(tcgets, TCGETS, termios);
218 let mut termios = unsafe { mem::zeroed() };
219 let res = unsafe { tcgets(file.as_raw_fd(), &mut termios) };
231 ioctl_write_ptr_bad!(tcsets, TCSETS, termios);
235 let termios: termios = unsafe { mem::zeroed() };
236 let res = unsafe { tcsets(file.as_raw_fd(), &termios) };
340 use libc::termios;
359 ioctl_read!(tiocgeta, TTY_IOC_MAGIC, TTY_IOC_TYPE_GETA, termios);
363 let mut termios = unsafe { mem::zeroed() };
364 let res = unsafe { tiocgeta(file.as_raw_fd(), &mut termios) };
368 ioctl_write_ptr!(tiocseta, TTY_IOC_MAGIC, TTY_IOC_TYPE_SETA, termios);
372 let termios: termios = unsafe { mem::zeroed() };
373 let res = unsafe { tiocseta(file.as_raw_fd(), &termios) };