qb_rb_chown(3)

qb_rb_chown3

Like 'chown', it changes the owner and group of the ringbuffer's resources.

Usage

#include <qb/qbrb.h>

int32_t qb_rb_chown(
    qb_ringbuffer_t   *rb,     /* ringbuffer instance */
    uid_t              owner,  /* uid of the owner to change to */
    gid_t              group   /* gid of the group to change to */
);

Params

rb ringbuffer instance

owner uid of the owner to change to

group gid of the group to change to

Overview

Return value

status (0 = ok, -errno for error)

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.