xcb_test_get_version(3)
π xcb_test_get_version β bestie edition π
okay so you're here for xcb_test_get_version, which lives in the XCB Requests corner of the xcb_test_get_version(3) manual page. yes it's a mouthful. no we're not renaming it. it's iconic actually. β¨
πΈ NAME πΈ
xcb_test_get_version β (the original page literally leaves this blank, so we're just vibing with the name, no cap)
π¦ SYNOPSIS π¦
#include <xcb/xtest.h>
β¨ Request function β¨
xcb_test_get_version_cookie_t
xcb_test_get_version(xcb_connection_t *conn,
uint8_t major_version, uint16_t minor_version);
π Reply datastructure π
typedef struct xcb_test_get_version_reply_t {
uint8_t response_type;
uint8_t major_version;
uint16_t sequence;
uint32_t length;
uint16_t minor_version;
} xcb_test_get_version_reply_t;
π Reply function π
xcb_test_get_version_reply_t
*xcb_test_get_version_reply(xcb_connection_t *conn,
xcb_test_get_version_cookie_t cookie, xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your whole lil pipeline to the server, she's the main character π«Άmajor_versionβ TODO: NOT YET DOCUMENTED. π (not me, not my fault, that's literally what the page says)minor_versionβ TODO: NOT YET DOCUMENTED. π (same energy, bestie)
β REPLY FIELDS β
response_typeβ the type of this reply. in this case it'sXCB_TEST_GET_VERSION. this field is also present in thexcb_generic_reply_tand you can use it 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. her lil receipt number fr frlengthβ the length of the reply, in words (and a word is 4 bytes, okurrr)major_versionβ TODO: NOT YET DOCUMENTED. πminor_versionβ TODO: NOT YET DOCUMENTED. π
π§ DESCRIPTION π§
the DESCRIPTION section is empty. like, fully empty. the void. the silence. we love a mysterious queen π
π₯ RETURN VALUE π₯
Returns an xcb_test_get_version_cookie_t. bestie, that's a cookie, not the actual answer β you gotta redeem it.
Errors have to be handled when calling the reply function xcb_test_get_version_reply.
If you want to handle errors in the event loop instead, use xcb_test_get_version_unchecked. See xcb-requests(3) for details. yes, we love an alternate route β¨
π ERRORS π
This request does never generate any errors. clean. pristine. no drama. we stan a low-maintenance request. πΈ
π SEE ALSO π
(okay the SEE ALSO section on this page is empty too β nothing listed. so the see-also vibe check is justβ¦ vibes. π¦)
π AUTHOR π
Generated from xtest.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
and that's the whole page, bestie!! this came out of X Version 11 and libxcb 1.17.0, so if you're citing it anywhere cute, that's the source and version to quote. mwah πβ¨
π¦ 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