xcb_glx_get_queryiv_arb(3)
π xcb_glx_get_queryiv_arb β bestie edition π
okay so this one is from the XCB Requests corner of the world, and the page is literally called xcb_glx_get_queryiv_arb(3). She's a GLX request, she's got a cookie, she's got a reply, and honestly? She's giving "quiet but useful." Let's get into it π«Ά
β¨ NAME β¨
xcb_glx_get_queryiv_arb β (yeah bestie, the original page leaves the description blank here. Not me making stuff up. We keep it real π)
πΈ SYNOPSIS πΈ
First things first, the include. Don't forget her:
#include <xcb/glx.h>
π Request function
xcb_glx_get_queryiv_arb_cookie_t
xcb_glx_get_queryiv_arb(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
uint32_t pname);
π Reply datastructure
Look at this struct, she's structured, she's organized, she's iconic:
typedef struct xcb_glx_get_queryiv_arb_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
int32_t datum;
uint8_t pad2[12];
} xcb_glx_get_queryiv_arb_reply_t;
π¦ Reply function
xcb_glx_get_queryiv_arb_reply_t
*xcb_glx_get_queryiv_arb_reply(xcb_connection_t *conn,
xcb_glx_get_queryiv_arb_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors
These are the little helpers that go through the reply for you, no cap:
int32_t *xcb_glx_get_queryiv_arb_data(const
xcb_glx_get_queryiv_arb_request_t *reply);
int xcb_glx_get_queryiv_arb_data_length(const
xcb_glx_get_queryiv_arb_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_queryiv_arb_data_end(const
xcb_glx_get_queryiv_arb_reply_t *reply);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11. The main character, fr fr.context_tagβ TODO: NOT YET DOCUMENTED. Like, the docs just didn't show up. Not my fault bestie πtargetβ TODO: NOT YET DOCUMENTED. Same situation.pnameβ TODO: NOT YET DOCUMENTED. Also a mystery. The mystery continues β¨
π REPLY FIELDS π
response_typeβ what kind of reply this even is. In this case it'sXCB_GLX_GET_QUERYIV_ARB. This field also lives in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other β a little vibe check for your packets πsequenceβ the sequence number of the last request the X11 server actually processed. Tracking numbers, but make it X11.lengthβ how long the reply is, measured in words. And a word here is 4 bytes, so don't get it twisted πnβ TODO: NOT YET DOCUMENTED. π«datumβ TODO: NOT YET DOCUMENTED. π«
π DESCRIPTION π
(Yes bestie, this section is empty in the original. There is literally nothing here. Enjoy the silence. It's giving minimalism. π)
β RETURN VALUE β
You get back an xcb_glx_get_queryiv_arb_cookie_t. Cute, right? But here's the thing β errors have to be handled when you call the reply function xcb_glx_get_queryiv_arb_reply. So don't just grab the cookie and ghost her, okay?
If you'd rather handle errors in the event loop instead, use xcb_glx_get_queryiv_arb_unchecked. See xcb-requests(3) for the details, iykyk π
π₯ ERRORS π₯
This request does never generate any errors. Zero. None. A flawless queen with no drama. Periodt. π
π§ SEE ALSO π§
(Also empty in the original! Nothing to link, bestie. We love a low-maintenance page πΈ)
πΈ AUTHOR πΈ
Generated from glx.xml. If something looks off and you want to send corrections and improvements, hit up xcb@lists.freedesktop.org β they're taking notes, and they're literally asking for your feedback π
okay that's the whole page, we did it, and it's from X Version 11, shipped with libxcb 1.17.0, page xcb_glx_get_queryiv_arb(3) β mwah, slay, go read your headers, love u bye πβ¨π
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms