riot_sys::bindgen

Function tsrb_get

Source
pub unsafe extern "C" fn tsrb_get(
    rb: *mut tsrb_t,
    dst: *mut u8,
    n: size_t,
) -> c_int
Expand description

@brief Get bytes from ringbuffer @param[in] rb Ringbuffer to operate on @param[out] dst buffer to write to @param[in] n max number of bytes to write to @p dst @return nr of bytes written to @p dst