xcb_xc_misc_get_xid_range(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_xc_misc_get_xid_range πŸ’–

okay bestie, welcome to the xcb_xc_misc_get_xid_range page from the XCB Requests fam ✨ (that's the manual name, she's fancy). grab a boba, we're doing X11 internals πŸ§‹πŸ¦‹


🌸 NAME 🌸

xcb_xc_misc_get_xid_range β€” literally the name, and that's it, the original gives us nothing else to go on here 😭 (no description, no summary, just vibes)


✨ SYNOPSIS ✨

First up, you gotta pull in the header:

#include <xcb/xc_misc.h>

πŸŽ€ Request function

xcb_xc_misc_get_xid_range_cookie_t
       xcb_xc_misc_get_xid_range(xcb_connection_t *conn,

πŸ¦‹ Reply datastructure

typedef struct xcb_xc_misc_get_xid_range_reply_t {
    uint8_t  response_type;
    uint8_t  pad0;
    uint16_t sequence;
    uint32_t length;
    uint32_t start_id;
    uint32_t count;
} xcb_xc_misc_get_xid_range_reply_t;

🌈 Reply function

xcb_xc_misc_get_xid_range_reply_t
       *xcb_xc_misc_get_xid_range_reply(xcb_connection_t *conn,
       xcb_xc_misc_get_xid_range_cookie_t cookie,
       xcb_generic_error_t **e);

πŸ’… REQUEST ARGUMENTS πŸ’…

  • conn β€” your XCB connection to X11. that's the whole list, she's lowkey minimalist 🫢

πŸ‘‘ REPLY FIELDS πŸ‘‘

  • response_type β€” the type of this reply, which in this case is XCB_XC_MISC_GET_XID_RANGE. this field also lives in xcb_generic_reply_t, so you can use it to tell your replies apart from each other, iykyk πŸ’€
  • sequence β€” the sequence number of the last request the X11 server processed. like a little receipt number fr fr 🧾
  • length β€” how long the reply is, in words (and a word is 4 bytes, no cap) ✨
  • start_id β€” TODO: NOT YET DOCUMENTED. the docs simply did not show up to class πŸ™ˆ
  • count β€” TODO: NOT YET DOCUMENTED. same energy, also a mystery πŸ’€

🌸 DESCRIPTION 🌸

(blank. the original leaves this section empty, so we're all just sitting here in silence together, staring at the void 🫠✨)


⭐ RETURN VALUE ⭐

She returns an xcb_xc_misc_get_xid_range_cookie_t β€” cute little cookie, iconic behavior πŸͺ. Errors have to be handled when you call the reply function xcb_xc_misc_get_xid_range_reply.

If you'd rather handle errors in the event loop instead, use xcb_xc_misc_get_xid_range_unchecked. See xcb-requests(3) for details πŸ’–


🚨 ERRORS 🚨

Good news bestie: this request does never generate any errors. Not a single one. She's drama-free, main character with zero conflict πŸ‘‘βœ¨


πŸ¦‹ SEE ALSO πŸ¦‹

(nothing listed here in the original β€” an empty friend group, honestly 😭)


πŸ’œ AUTHOR πŸ’œ

Generated from xc_misc.xml. If you wanna send corrections or improvements, hit up xcb@lists.freedesktop.org 🫢


and that's the whole page, bestie!! 🌈 this lil manual page shipped with X Version 11, libxcb 1.17.0, and it's filed under xcb_xc_misc_get_xid_range(3) β€” go forth and query those XID ranges, you absolute icon πŸ’…πŸŽ€πŸ¦‹