Function riot_sys::tsrb_add

source ·
pub unsafe extern "C" fn tsrb_add(
    rb: *mut tsrb_t,
    src: *const u8,
    n: size_t
) -> c_int
Expand description

@brief Add bytes to ringbuffer @param[in] rb Ringbuffer to operate on @param[in] src buffer to read from @param[in] n max number of bytes to read from @p src @return nr of bytes read from @p src