pipe_free

Function pipe_free 

Source
pub unsafe extern "C" fn pipe_free(pipe: *mut PipeSide)
Expand description

Frees a side of a pipe.

When only one of the sides is freed, the pipe is transitioned from the “Open” state into the “Broken” state. When both sides are freed, the underlying data structures are freed too.

§Arguments

  • [in] - pipe Pipe side to free