r6:Function:ringbuffer put read element

From liblfds.org
Revision as of 14:07, 4 January 2015 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

See Also