Function esp_idf_svc::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