Function fifo_size

Function Documentation

static inline size_t fifo_size(const struct fifo *const fifo)

Determine # elements currently in the FIFO.

Parameters:

fifo – The FIFO handle.

Returns:

# elements in FIFO, or 0 on ERROR.