xcb_xvmc_query_version(3)
π NAME π
xcb_xvmc_query_version β ok so bestie, the official description here is literally just... blank π«Ά like the manpage really said "name's enough, you got it" and dipped. no cap. we move.
β¨ SYNOPSIS β¨
First things first, you gotta pull in the header:
#include <xcb/xvmc.h>
π Request function π
xcb_xvmc_query_version_cookie_t
xcb_xvmc_query_version(xcb_connection_t *conn,
(yes, that trailing comma is exactly how it's written in the original β not me being messy, it's canon π )
π¦ Reply datastructure π¦
typedef struct xcb_xvmc_query_version_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t major;
uint32_t minor;
} xcb_xvmc_query_version_reply_t;
πΈ Reply function πΈ
xcb_xvmc_query_version_reply_t
*xcb_xvmc_query_version_reply(xcb_connection_t *conn,
xcb_xvmc_query_version_cookie_t cookie, xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ The XCB connection to X11. that's your lil hotline to the server, bestie, it's giving "main character connects to the mothership" π
β REPLY FIELDS β
response_typeβ The type of this reply, in this caseXCB_XVMC_QUERY_VERSION. This field is also present in thexcb_generic_reply_tand can be used to tell replies apart from each other. it's literally the reply's name tag at the party πsequenceβ The sequence number of the last request processed by the X11 server. lowkey a receipt number fr fr π§Ύlengthβ The length of the reply, in words (a word is 4 bytes). note: a word here is 4 bytes, not whatever vibes you were picturing πmajorβ TODO: NOT YET DOCUMENTED. bestie they literally left it blank πminorβ TODO: NOT YET DOCUMENTED. same energy, also blank π
π DESCRIPTION π
so... there is no description. the section exists, the words do not. it's giving empty group chat, everyone's typing, nobody's sending π«Ά iconic honestly.
π RETURN VALUE π
Returns an xcb_xvmc_query_version_cookie_t. Errors have to be handled when calling the reply function xcb_xvmc_query_version_reply.
If you want to handle errors in the event loop instead, use xcb_xvmc_query_version_unchecked. See xcb-requests(3) for details.
okay so real talk: you get a cookie back, and the cookie is not the answer. you gotta trade it in at the reply function. the unchecked variant is the "i'll deal with problems later in the event loop" route. pick your fighter β¨
π₯ ERRORS π₯
This request does never generate any errors. flawless. unbothered. no drama. periodt π
π SEE ALSO π
nothing listed here, bestie β the original left this one empty too. it's giving "no further reading, you already ate" π
π AUTHOR π
Generated from xvmc.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
and that's the whole page, bestie!! π this one came from X Version 11, shipped with libxcb 1.17.0, and it's the xcb_xvmc_query_version(3) page β go query those versions, you absolute icon πβ¨
π¦ 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