xcb_xfixes_query_version(3)
β¨ xcb_xfixes_query_version β¨
okay bestie, welcome to the manual page for xcb_xfixes_query_version, part of the XCB Requests crew (that's the X protocol binding for C, iykyk). Yes, the NAME line is genuinely just a lonely little dash with nothing after it β the original said so, and I refuse to make stuff up. π
πΈ NAME πΈ
xcb_xfixes_query_version β (the original leaves this blank, just a bare dash, no cap)
π¦ SYNOPSIS π¦
First, you gotta pull in the header:
#include <xcb/xfixes.h>
π Request function π
xcb_xfixes_query_version_cookie_t
xcb_xfixes_query_version(xcb_connection_t *conn,
uint32_t client_major_version, uint32_t client_minor_version);
π Reply datastructure π
typedef struct xcb_xfixes_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_xfixes_query_version_reply_t;
π Reply function π
xcb_xfixes_query_version_reply_t
*xcb_xfixes_query_version_reply(xcb_connection_t *conn,
xcb_xfixes_query_version_cookie_t cookie,
xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your little phone line to the server, basically π«Άclient_major_versionβTODO: NOT YET DOCUMENTED.(the docs said what they said, I'm not inventing lore)client_minor_versionβTODO: NOT YET DOCUMENTED.(same energy, bestie)
β REPLY FIELDS β
response_typeβ the type of this reply, in this caseXCB_XFIXES_QUERY_VERSION. this field is also chilling inside thexcb_generic_reply_t, and you can use it to tell replies apart from each other πsequenceβ the sequence number of the last request processed by the X11 server. it's giving β¨receiptsβ¨lengthβ the length of the reply, in words. and reminder: a word is 4 bytes here, okay? not like, a dictionary word πmajor_versionβTODO: NOT YET DOCUMENTED.minor_versionβTODO: NOT YET DOCUMENTED.
π DESCRIPTION π
(the original page has literally nothing here β the section header shows up and then immediately dips. so there's nothing for me to tell you, and I'm not about to fabricate, periodt.)
π RETURN VALUE π
Returns an xcb_xfixes_query_version_cookie_t. Errors have to be handled when calling the reply function xcb_xfixes_query_version_reply.
If you'd rather handle errors in the event loop instead, use xcb_xfixes_query_version_unchecked. See xcb-requests(3) for details. main character error-handling energy, honestly π§
π₯ ERRORS π₯
This request does never generate any errors. iconic, flawless, no notes π
π SEE ALSO π
(nothing listed here in the original β the section is just vibes and empty space, so that's what you get.)
π AUTHOR π
Generated from xfixes.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
okay that's the whole thing, bestie!! every flag, every field, every TODO: NOT YET DOCUMENTED. kept exactly where it was. slay π
β¨
This was brought to you by X Version 11 and libxcb 1.17.0 π¦π
π¦ 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