pub unsafe extern "C" fn k_pipe_flush(pipe: *mut k_pipe)
Expand description
@brief Flush the pipe of write data
This routine flushes the pipe. Flushing the pipe is equivalent to reading both all the data in the pipe’s buffer and all the data waiting to go into that pipe into a large temporary buffer and discarding the buffer. Any writers that were previously pended become unpended.
@param pipe Address of the pipe.