pub unsafe extern "C" fn k_pipe_init(
pipe: *mut k_pipe,
buffer: *mut u8,
buffer_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 buffer, or NULL if no ring buffer is used. @param buffer_size Size of the pipe’s buffer, or zero if no ring buffer is used.