xcb_glx_query_version(3)
β¨ xcb_glx_query_version β¨
okay bestie, gather round π this is xcb_glx_query_version(3), one of the XCB Requests girlies. It lives in the XCB crew and it's here to ask the X server like "hey babe, what GLX version are we working with?" π¦
πΈ NAME πΈ
xcb_glx_query_version β
so like. the name is literally just the name and then a dash and then nothing. the description slot is empty. we're serving mystery π the vibe is "she said she'd text back and didn't."
π SYNOPSIS π
#include <xcb/glx.h>
β¨ Request function β¨
xcb_glx_query_version_cookie_t
xcb_glx_query_version(xcb_connection_t *conn,
uint32_t major_version, uint32_t minor_version);
π«Ά Reply datastructure π«Ά
typedef struct xcb_glx_query_version_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t major_version;
uint32_t minor_version;
uint8_t pad1[16];
} xcb_glx_query_version_reply_t;
π Reply function π
xcb_glx_query_version_reply_t
*xcb_glx_query_version_reply(xcb_connection_t *conn,
xcb_glx_query_version_cookie_t cookie, xcb_generic_error_t **e);
like yes she's giving struct energy, she's giving cookie energy, she's giving pointer-to-reply-t energy. iconic. no notes. π
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the server, basically. πmajor_versionβTODO: NOT YET DOCUMENTED.π yeah babe the docs said "idk" and left.minor_versionβTODO: NOT YET DOCUMENTED.π same energy. two mysteries, one function.
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_GLX_QUERY_VERSION. This field also lives in thexcb_generic_reply_t, so you can use it to tell replies apart from each other. it's the little name tag at the party πsequenceβ the sequence number of the last request processed by the X11 server. it's the "which one was this again" receipt π§Ύlengthβ the length of the reply, in words. and yes bestie, a word is4bytes. periodt.major_versionβTODO: NOT YET DOCUMENTED.πminor_versionβTODO: NOT YET DOCUMENTED.ππ
π¦ DESCRIPTION π¦
(blank. absolutely nothing here. the manpage really said "no thoughts, head empty" and moved on. respect the commitment to silence β¨)
π₯ RETURN VALUE π₯
Returns an xcb_glx_query_version_cookie_t. πͺ
heads up bestie β errors do not show up here. you have to handle them when you call the reply function xcb_glx_query_version_reply. that's where the drama happens.
And if you'd rather handle your errors in the event loop instead? use xcb_glx_query_version_unchecked. See xcb-requests(3) for details. iykyk π«Ά
πΈ ERRORS πΈ
okay so this is the good news section: This request does never generate any errors. she's a chill one. no drama, no red flags, we love that for her πβ¨
β SEE ALSO β
(nothing listed. an empty shelf. a vibe. go read xcb-requests(3) if you're nosy though π)
π AUTHOR π
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. so if you spot something weird, that's the inbox to slide into π§
and that's the whole page, bestie!! this lil icon came to you from X Version 11 and libxcb 1.17.0, and it answers to the name xcb_glx_query_version(3). mwah, go query something ππ¦β¨
π¦ 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