Function esp_idf_svc::hal::sys::cfsetispeed

source ยท
pub unsafe extern "C" fn cfsetispeed(p: *mut termios, sp: u32) -> i32
Expand description

@brief Set input baud rate in the termios structure

There is no effect in hardware until a subsequent call of tcsetattr().

@param p input termios structure @param sp input baud rate @return 0 when successful, -1 otherwise with errno set