Function esp_idf_sys::tcgetattr

source ·
pub unsafe extern "C" fn tcgetattr(
    fd: c_int,
    p: *mut termios
) -> c_int
Expand description

@brief Gets the parameters of the terminal

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