QB_RB_SHAR...R_DATA_GET(3)
π qb_rb_shared_user_data_get π
okay bestie, welcome to the libqb programmer's manual, page qb_rb_shared_user_data_get(3) β yes the title is a whole mouthful, we love her anyway π«Ά
β¨ NAME β¨
qb_rb_shared_user_data_get β get a point to user shared data area π
πΈ SYNOPSIS πΈ
#include <qb/qbrb.h>
void * qb_rb_shared_user_data_get(
qb_ringbuffer_t *rb /* ringbuffer instance */
);
like. she takes one thing. that's it. lowkey iconic for that π
π¦ PARAMS π¦
rbβ the ringbuffer instance, babe. your little guy. your ringbuffer.
π DESCRIPTION π
so the original page justβ¦ doesn't say anything here?? literally nothing. no cap, the DESCRIPTION section is just vibes and empty space π the function itself is fully explained by its name and its return value, so like, we move.
β RETURN VALUE β
a pointer to the shared data. that's the whole tea. void * and everything, bestie π«Ά
π NOTE π
the size of this shared data area is whatever "shared_user_data_size" value you passed into qb_rb_open(). so like, you picked that number, don't act surprised now π
π SEE ALSO π
the whole friend group, fr fr:
qb_rb_close(3)qb_rb_refcount_get(3)qb_rb_chmod(3)qb_rb_chown(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_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.
and that's the page, bestie!! π this one's from the libqb crew, stamped 2025-09-16, and yeah β the copyright belongs to Red Hat, Inc., 2010 through 2020, so shoutout to them fr. now go get that pointer and slay β¨π
π¦
π¦ 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