xcb_xevie_query_version(3)
π xcb_xevie_query_version(3) β XCB Requests β¨
okay bestie, welcome to the xcb_xevie_query_version page from the XCB crew π this is a <hotpink>libxcb</hotpink> manpage, and yes it is exactly as empty on lore as it looks, but we're gonna walk through every single crumb of it together π«Ά
πΈ NAME πΈ
xcb_xevie_query_version -
(yes the description is literally blank, no cap, the upstream page has nothing after the dash π we keep it real here)
β¨ SYNOPSIS β¨
First things first, you gotta pull in the header:
#include <xcb/xevie.h>
π Request function π
xcb_xevie_query_version_cookie_t
xcb_xevie_query_version(xcb_connection_t *conn,
uint16_t client_major_version, uint16_t client_minor_version);
π¦ Reply datastructure π¦
typedef struct xcb_xevie_query_version_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint16_t server_major_version;
uint16_t server_minor_version;
uint8_t pad1[20];
} xcb_xevie_query_version_reply_t;
π Reply function π
xcb_xevie_query_version_reply_t
*xcb_xevie_query_version_reply(xcb_connection_t *conn,
xcb_xevie_query_version_cookie_t cookie,
xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11, your lil hotline to the server π«client_major_versionβ TODO: NOT YET DOCUMENTED. (the docs really said "we'll finish this later" and then never did π)client_minor_versionβ TODO: NOT YET DOCUMENTED. (same energy, fr fr)
π REPLY FIELDS π
response_typeβ the type of this reply, in this caseXCB_XEVIE_QUERY_VERSION. This field is also present in thexcb_generic_reply_tand can be used to tell replies apart from each other. it's giving β¨name tag at a partyβ¨sequenceβ the sequence number of the last request processed by the X11 server π’lengthβ the length of the reply, in words (a word is 4 bytes, iconic unit of measurement π )server_major_versionβ TODO: NOT YET DOCUMENTED.server_minor_versionβ TODO: NOT YET DOCUMENTED.
π DESCRIPTION π
okay soβ¦ the DESCRIPTION section is literally empty in the original. nothing. void. the server said "no thoughts, head empty" π« that's not me skipping it, bestie, that's just what's on the page.
β RETURN VALUE β
Returns an xcb_xevie_query_version_cookie_t πͺ β a lil cookie, love that for us.
Errors have to be handled when calling the reply function xcb_xevie_query_version_reply.
If you want to handle errors in the event loop instead, use xcb_xevie_query_version_unchecked. See xcb-requests(3) for details π
π₯ ERRORS π₯
This request does never generate any errors. not a single one. zero drama, main character energy, no cap πβ¨
π§ SEE ALSO π§
(blank in the original β the cross-references said "not today" π)
πΈ AUTHOR πΈ
Generated from xevie.xml. Contact xcb@lists.freedesktop.org for corrections and improvements π
and that's the whole page, bestie!! it was written by the XCB squad, shipped as part of X Version 11, libxcb 1.17.0, and this lil gem of a page is xcb_xevie_query_version(3) β mwah, go query some versions, slay π
ππ¦
π¦ 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