r6:Function:ringbuffer put read element
Jump to navigation
Jump to search
Source Files
/src/ringbuffer/ringbuffer_get_and_put.c /inc/liblfds.h
Prototype
void ringbuffer_put_read_element( struct ringbuffer_state *rs, struct freelist_element *fe );
Parameters
struct ringbuffer_state *rs
- A ringbuffer state as allocated by ringbuffer_new.
struct freelist_element *fe
- A pointer to a freelist element as obtained from ringbuffer_get_read_element.
Return Value
No return value.
Notes
Returns a read element to the ringbuffer.