riot_sys

Function tsrb_get_one

Source
pub unsafe extern "C" fn tsrb_get_one(rb: *mut tsrb_t) -> c_int
Expand description

@brief Get a byte from ringbuffer @param[in] rb Ringbuffer to operate on @return >=0 byte that has been read @return -1 if no byte available