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:

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