pub unsafe extern "C" fn k_pipe_init(
pipe: *mut k_pipe,
buffer: *mut u8,
size: usize,
)
Expand description
@brief Initialize a pipe.
This routine initializes a pipe object, prior to its first use.
@param pipe Address of the pipe. @param buffer Address of the pipe’s ring buffer, or NULL if no ring buffer is used. @param size Size of the pipe’s ring buffer (in bytes), or zero if no ring buffer is used.