riot_sys

Function ringbuffer_peek_one

Source
pub unsafe extern "C" fn ringbuffer_peek_one(
    rb: *const ringbuffer_t,
) -> c_int
Expand description

@brief Read, but don’t remove, the oldest element in the buffer. @param[in] rb Ringbuffer to operate on. @returns Same as ringbuffer_get_one()