Function esp_idf_sys::tcflush

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

@brief Flush non-transmitted output data and non-read input data

@param fd file descriptor of the terminal @param select selects what should be flushed @return 0 when successful, -1 otherwise with errno set