riot_sys

Function tsrb_peek_one

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

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