Function esp_idf_svc::sys::tcflush

source ยท
pub unsafe extern "C" fn tcflush(fd: i32, select: i32) -> i32
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