QB_RB_CHOWN(3)

QB_RB_CHOWN(3) πŸ’…

okay so bestie, this one lives in the libqb Programmer's Manual, and it's the third-section page for qb_rb_chown β€” the ringbuffer glow-up where you hand over ownership. πŸ‘‘


✨ NAME ✨

qb_rb_chown β€” like chown, it changes the owner and group of the ringbuffer's resources. fr fr, that's the whole job. 🫢


🌸 SYNOPSIS 🌸

#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 πŸ’– the lil guy you're operating on
  • owner β€” uid of the owner to change to πŸ‘‘
  • group β€” gid of the group to change to 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

so um. the original page literally left this section blank, and honestly? not me reading an empty DESCRIPTION like it's gonna say something πŸ’€. that's it. that's the section. moving on bestie, no notes.


⭐ RETURN VALUE ⭐

it hands you back a status: 0 = ok, and -errno for error. so if you get a negative number back, that's the vibe check failing β€” go look up what that errno means. no cap. 😭


πŸ’œ SEE ALSO πŸ’œ

the whole ringbuffer friend group, all of them, in order:


Copyright (C) 2010-2020 Red Hat, Inc.


okay that's the whole page bestie, you ate πŸ“. this was LIBQB, version dated 2025-09-16, and the page id is QB_RB_CHOWN(3) β€” mwah, periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from