Function multififo_size

Function Documentation

static inline size_t multififo_size(const struct multififo *const fifo)

Determine # elements currently in the multi-FIFO.

Note

This works with the root FIFO only—to get the # elements in a child shadow FIFO, use fifo_size() with an appropriate fifo reference.

Parameters:

fifo – The multi-FIFO handle.

Returns:

# elements in the multi-FIFO, or 0 on ERROR.