Function esp_idf_hal::sys::tcsetattr

source ·
pub unsafe extern "C" fn tcsetattr(
    fd: i32,
    optional_actions: i32,
    p: *const termios
) -> i32
Expand description

@brief Sets the parameters of the terminal

@param fd file descriptor of the terminal @param optional_actions optional actions @param p input termios structure @return 0 when successful, -1 otherwise with errno set