Function fifo_capacity

Function Documentation

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

Get the FIFO capacity.

Parameters:

fifo – The FIFO handle.

Returns:

Capacity of the FIFO, or 0 on ERROR.