Function esp_idf_sys::tcsetattr

source ·
pub unsafe extern "C" fn tcsetattr(
    fd: c_int,
    optional_actions: c_int,
    p: *const termios
) -> c_int
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