8000 GitHub - karim-m-ali/ring-buf: A lightweight, efficient ring buffer implementation in C.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

karim-m-ali/ring-buf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ring Buffer Implementation in C

This repository contains a simple and efficient ring buffer (circular buffer) implementation in C. The ring buffer relies on an external buffer provided by the user and is designed for embedded systems, where memory is limited and thread safety is not required.

Features

  • ✅ Lightweight and efficient
  • ✅ Supports dynamic and static buffer allocation
  • ✅ Provides essential buffer operations (write, read, reset, etc.)
  • ✅ Tracks available and written bytes
  • ✅ Fully tested with assertions

About

A lightweight, efficient ring buffer implementation in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0