Function esp_idf_hal::sys::tcgetattr

source ·
pub unsafe extern "C" fn tcgetattr(fd: i32, p: *mut termios) -> i32
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