Function rbuffer_remove

Function Documentation

status_t rbuffer_remove(struct rbuffer *rb, void *e)

Remove the next item from the ringbuffer.

The head/tail indexes are modified when the element is removed.

Parameters:
  • rb – The ringbuffer handle.

  • e – To be filled with the removed element, if non-NULL.

Returns:

status_t.