pub unsafe extern "C" fn k_pipe_cleanup(pipe: *mut k_pipe) -> i32
Expand description
@brief Release a pipe’s allocated buffer
If a pipe object was given a dynamically allocated buffer via k_pipe_alloc_init(), this will free it. This function does nothing if the buffer wasn’t dynamically allocated.
@param pipe Address of the pipe. @retval 0 on success @retval -EAGAIN nothing to cleanup