Function nix::sys::termios::tcsetattr

source ·
pub fn tcsetattr(fd: RawFd, actions: SetArg, termios: &Termios) -> Result<()>
Expand description

Set the configuration for a terminal (see tcsetattr(3p)).

tcsetattr() reconfigures the given port based on a given Termios structure. This change takes affect at a time specified by actions. Note that this function may return success if any of the parameters were successfully set, not only if all were set successfully.