Developer World
Spresense SDK Library v3.3.0-375c679
ringbuffer.h File Reference
#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_sringbuf_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)