Function esp_idf_svc::sys::cfsetospeed
source ยท pub unsafe extern "C" fn cfsetospeed(p: *mut termios, sp: u32) -> i32
Expand description
@brief Set output 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 output baud rate @return 0 when successful, -1 otherwise with errno set