Function ring_buf_size(const ring_buf_t *)
Defined in File ring_buf.c
Function Documentation
-
uint32_t ring_buf_size(const ring_buf_t *rb)
Get the current number of occupied slots in the ring buffer.
- 매개변수:
rb – [in] Ring buffer handle.
- 반환:
Number of occupied slots.