ck_ring_init3
Initialize bounded fifo
Usage
#include <ck_ring.h>
void
ck_ring_init(ck_ring_t *ring, unsigned int size);
Library
Concurrency Kit (libck, -lck)
Overview
The ck_ring_init() function initializes a bounded FIFO buffer pointed to by ring for the storage of up to size number of pointers. The size argument must be a power-of-two greater than or equal to 4.
Return values
This function has no return value.
Releases
Unchanged in 5 releases since Debian 8 (Jessie).