Hacker GitHub

← All repos

willemt/cbuffer

View on GitHub ↗ ★ 274 C

A circular buffer written in C using Posix calls to create a contiguously mapped memory space. BSD Licensed.

4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2016-12-14 · latest 2020-09-28

Mentions per year 4 mentions · busiest year 2020 (2)
20082026
  1. ▲ 3
    A circular buffer using a mmap() magic trick to make the caller's life easier
    story by itamarst · 2020-09-28 · 0 comments
  2. …on it in chunks. Here's a GitHub repo that contains an implementation of the magic ring buffer: https://github.com/willemt/cbuffer
  3. …https://github.com/ulfalizer/botniklas/blob/master/src/read_... https://github.com/willemt/cbuffer
  4. This is another interesting ring buffer implementation that uses mmap. https://github.com/willemt/cbuffer