Function esp_idf_sys::tcdrain

source ·
pub unsafe extern "C" fn tcdrain(fd: c_int) -> c_int
Expand description

@brief Wait for transmission of output

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