nix::sys::termios

Function cfmakeraw

Source
pub fn cfmakeraw(termios: &mut Termios)
Expand description

Configures the port to something like the “raw” mode of the old Version 7 terminal driver (see termios(3)).

cfmakeraw() configures the termios structure such that input is available character-by- character, echoing is disabled, and all special input and output processing is disabled. Note that this is a non-standard function, but is available on Linux and BSDs.