xcb_xfixes_query_version(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 case XCB_XFIXES_QUERY_VERSION. this field is also chilling inside the xcb_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 πŸ¦‹πŸ’–