Function rbuffer_serve_front

Function Documentation

status_t rbuffer_serve_front(const struct rbuffer *rb, void *e)

Retrieve the first entry from the ringbuffer.

The ringbuffer is not modified.

Parameters:
  • rb – The ringbuffer handle.

  • e – To be filled with the first element.

Returns:

status_t.