xcb_dri3_query_version(3)
π xcb_dri3_query_version(3) π
okay so bestie, welcome to the XCB Requests section of the manual, page xcb_dri3_query_version. this is from libxcb, she's an icon, and she's here to let you ask the X server what version of DRI3 it's running. let's get into it π¦
β¨ NAME β¨
xcb_dri3_query_version β literally the request that asks the X server "hey girl what version of DRI3 are you on?"
β¨ SYNOPSIS β¨
#include <xcb/dri3.h>
π Request function π
xcb_dri3_query_version_cookie_t
xcb_dri3_query_version(xcb_connection_t *conn,
uint32_t major_version, uint32_t minor_version);
π Reply datastructure π
typedef struct xcb_dri3_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;
} xcb_dri3_query_version_reply_t;
π Reply function π
xcb_dri3_query_version_reply_t
*xcb_dri3_query_version_reply(xcb_connection_t *conn,
xcb_dri3_query_version_cookie_t cookie, xcb_generic_error_t **e);
β¨ REQUEST ARGUMENTS β¨
connβ the XCB connection to X11, your lil hotline to the server πmajor_versionβ TODO: NOT YET DOCUMENTED. yeah bestie, they really left us hanging on this one πminor_versionβ TODO: NOT YET DOCUMENTED. same energy, no notes, nobody wrote it π
β¨ REPLY FIELDS β¨
response_typeβ the type of this reply, and in this case it'sXCB_DRI3_QUERY_VERSION. this field is also chillin' in thexcb_generic_reply_t, so you can use it to tell replies apart from each other πsequenceβ the sequence number of the last request processed by the X11 server β¨lengthβ the length of the reply, in words. and just so we're clear: a word is 4 bytes πmajor_versionβ TODO: NOT YET DOCUMENTED. nope, still nothing π«minor_versionβ TODO: NOT YET DOCUMENTED. and also nothing π
β¨ DESCRIPTION β¨
this section is empty in the original, bestie. not me staring at a blank DESCRIPTION like ποΈπποΈ. nothing to report, moving on π
β¨ RETURN VALUE β¨
returns an xcb_dri3_query_version_cookie_t. and listen β errors have to be handled when you call the reply function xcb_dri3_query_version_reply. that's not optional, that's just the vibe check π₯
if you'd rather handle errors in the event loop instead, use xcb_dri3_query_version_unchecked. see xcb-requests(3) for details, iykyk πΈ
β¨ ERRORS β¨
this request does never generate any errors. not a single one. she's flawless, she's unproblematic, she ate and left no crumbs π β¨
β¨ SEE ALSO β¨
also empty in the original, bestie π nothing linked here, we're on our own fr fr π§
β¨ AUTHOR β¨
generated from dri3.xml. contact xcb@lists.freedesktop.org for corrections and improvements π§
okay that's the whole page, bestie, you're basically a DRI3 version-querying main character now π
X Version 11 Β· libxcb 1.17.0 Β· xcb_dri3_query_version(3) β that's the source, the version and the date right there, periodt π bye bestie, go query some versions π¦πΈπ
π¦ 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