Contents:
Defined in File rbuffer.h
Determine # elements currently in the ringbuffer.
rb – The ringbuffer handle.
# elements in ringbuffer, or 0 on ERROR.