Lines Matching refs:termios
12 use crate::sys::termios::Termios;
244 /// the values in `winsize`. If `termios` is not `None`, the pseudoterminal's
245 /// terminal settings of the slave will be set to the values in `termios`.
254 termios: U,
261 match (termios.into(), winsize.into()) {
262 (Some(termios), Some(winsize)) => {
263 let inner_termios = termios.get_libc_termios();
269 &*inner_termios as *const libc::termios as *mut _,
283 (Some(termios), None) => {
284 let inner_termios = termios.get_libc_termios();
290 &*inner_termios as *const libc::termios as *mut _,
324 /// the values in `winsize`. If `termios` is not `None`, the pseudoterminal's
325 /// terminal settings of the slave will be set to the values in `termios`.
340 termios: U,
346 let term = match termios.into() {
347 Some(termios) => {
348 let inner_termios = termios.get_libc_termios();
349 &*inner_termios as *const libc::termios as *mut _