Function rbuffer_init

Function Documentation

struct rbuffer * rbuffer_init (struct rbuffer *rb_in, const struct rbuffer_params *params) RCSW_WUR

Initialize a ringbuffer.

Parameters:
Returns:

The initialized ringbuffer, or NULL if an error occurred.