qb_rb_close(3)

qb_rb_close3

Dereference the ringbuffer and, if we are the last user, destroy it.

Usage

#include <qb/qbrb.h>

void qb_rb_close(
    qb_ringbuffer_t   *rb   /* ringbuffer instance */
);

Params

rb ringbuffer instance

Overview

All files, mmaped memory, semaphores and locks will be destroyed.

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From libqb 2.0.10-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.