Function fifo_front

Function Documentation

static inline void *fifo_front(const struct fifo *const fifo)

Get the first FIFO item without removing it.

Parameters:

fifo – The FIFO handle.

Returns:

Pointer to the first element, or NULL if no such element or an error occurred.