zephyr/lib
Christopher Friedt 0ca511a49e sys: ring_buffer: ring_buf_peek() and ring_buf_size_get()
Add ring_buf_size_get() to get the number of bytes currently available
in the ring buffer.

Add ring_buf_peek() to read data from the head of a ring buffer without
removal.

Fixes #37145

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2021-07-28 07:32:28 -04:00
..
gui lib: gui: lvgl: Fix logging macro usage 2021-04-22 15:29:15 -05:00
libc libc: minimal: Add rand() and srand() 2021-07-20 13:32:36 -04:00
open-amp
os sys: ring_buffer: ring_buf_peek() and ring_buf_size_get() 2021-07-28 07:32:28 -04:00
posix posix: pthread_exit: check for null before dereferencing 2021-05-27 09:07:57 -05:00
util lib: add freebsd getopt library 2021-03-01 09:50:32 -05:00
CMakeLists.txt portability: move cmsis APIs to subsys/portability 2021-04-20 08:45:05 -04:00
Kconfig portability: move cmsis APIs to subsys/portability 2021-04-20 08:45:05 -04:00