riot_sys::bindgen

Function ringbuffer_remove

Source
pub unsafe extern "C" fn ringbuffer_remove(
    rb: *mut ringbuffer_t,
    n: c_uint,
) -> c_uint
Expand description

@brief Remove a number of elements from the ringbuffer. @param[in,out] rb Ringbuffer to operate on. @param[in] n Read at most n elements. @returns Number of elements actually removed.