r6:Function:ringbuffer put write element
Jump to navigation
Jump to search
Source Files
/src/ringbuffer/ringbuffer_get_and_put.c /inc/liblfds.h
Prototype
void ringbuffer_put_write_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_write_element.
Return Value
No return value.
Notes
Returns a write element to the ringbuffer.