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 onownerβ 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:
qb_rb_close(3)qb_rb_refcount_get(3)qb_rb_chmod(3)qb_rb_open(3)qb_rb_write_to_file(3)qb_rb_create_from_file(3)qb_rb_chunks_used(3)qb_rb_chunk_reclaim(3)qb_rb_space_used(3)qb_rb_chunk_write(3)qb_rb_shared_user_data_get(3)qb_rb_chunk_commit(3)qb_rb_chunk_peek(3)qb_rb_space_free(3)qb_rb_name_get(3)qb_rb_chunk_alloc(3)qb_rb_chunk_read(3)
π COPYRIGHT π
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
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- ubuntu resolute: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms