#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | ringbuf_s |
Macros | |
#define | EXTERN extern "C" |
Functions | |
Functions | |
FAR struct ringbuf_s * | ringbuf_new (size_t size) |
void | ringbuf_free (FAR struct ringbuf_s *rb) |
ssize_t | ringbuf_read (FAR struct ringbuf_s *rb, FAR void *buf, size_t count) |
ssize_t | ringbuf_write (FAR struct ringbuf_s *rb, FAR void *buf, size_t count) |
size_t | ringbuf_buffersize (FAR struct ringbuf_s *rb) |
size_t | ringbuf_bytesused (FAR struct ringbuf_s *rb) |
size_t | ringbuf_bytesavail (FAR struct ringbuf_s *rb) |