r6:Function:ringbuffer put read element

From liblfds.org
Jump to: navigation, 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.

See Also