r6.1.0:lfds610_ringbuffer_put_write_element

From liblfds.org
Jump to navigation Jump to search

Source Files

/liblfds610/src/lfds610_ringbuffer/lfds610_ringbuffer_get_and_put.c
/liblfds610/inc/liblfds610.h

Prototype

void lfds610_ringbuffer_put_write_element( struct lfds610_ringbuffer_state *rs, struct lfds610_freelist_element *fe );

Parameters

struct lfds610_ringbuffer_state *rs

A ringbuffer state as allocated by lfds610_ringbuffer_new.

struct lfds610_freelist_element *fe

A pointer to a freelist element as obtained from lfds610_ringbuffer_get_write_element.

Return Value

No return value.

Notes

Returns a write element to the ringbuffer.

See Also