xcb_xc_misc_get_xid_list(3)
π« xcb_xc_misc_get_xid_list β the XCB requests manual π«
okay bestie, welcome to the xcb_xc_misc_get_xid_list page from the XCB Requests fam π this is the libxcb 1.17.0 era, X Version 11 vibes, and we're gonna walk through it together, no cap.
πΈ NAME πΈ
xcb_xc_misc_get_xid_list β (yes the description is literally blank in the original, iconic minimalism, she said nothing and left π
)
β¨ SYNOPSIS β¨
First things first, you gotta pull in the header:
#include <xcb/xc_misc.h>
π Request function π
xcb_xc_misc_get_xid_list_cookie_t
xcb_xc_misc_get_xid_list(xcb_connection_t *conn, uint32_t count);
π¦ Reply datastructure π¦
this is the lil struct she hands back, look at her:
typedef struct xcb_xc_misc_get_xid_list_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t ids_len;
uint8_t pad1[20];
} xcb_xc_misc_get_xid_list_reply_t;
π Reply function π
xcb_xc_misc_get_xid_list_reply_t
*xcb_xc_misc_get_xid_list_reply(xcb_connection_t *conn,
xcb_xc_misc_get_xid_list_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors π
the lil helper besties that go digging inside the reply for you:
uint32_t *xcb_xc_misc_get_xid_list_ids(const
xcb_xc_misc_get_xid_list_request_t *reply);
int xcb_xc_misc_get_xid_list_ids_length(const
xcb_xc_misc_get_xid_list_reply_t *reply);
xcb_generic_iterator_t xcb_xc_misc_get_xid_list_ids_end(const
xcb_xc_misc_get_xid_list_reply_t *reply);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11. the whole reason you're here fr fr.countβ TODO: NOT YET DOCUMENTED. yeah babe, the docs said "we'll get to it" and then never did π not me exposing the maintainers.
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_XC_MISC_GET_XID_LIST. this field is also chillin' in thexcb_generic_reply_t, and it's literally how you tell your replies apart from each other. main character identifier energy.sequenceβ the sequence number of the last request processed by the X11 server. very "where were we" of her.lengthβ the length of the reply, in words. and a word is 4 bytes, so don't come at me with letters, this is the technical kind of word πids_lenβ TODO: NOT YET DOCUMENTED. again!! the mystery continues π
π DESCRIPTION π
nothing here bestie. the original page justβ¦ leaves it blank. we move. π
π«Ά RETURN VALUE π«Ά
She hands you back an xcb_xc_misc_get_xid_list_cookie_t. Errors? You don't deal with them right here β you handle them when you call the reply function xcb_xc_misc_get_xid_list_reply.
If you'd rather catch errors in the event loop instead, use xcb_xc_misc_get_xid_list_unchecked. Peep xcb-requests(3) for the full tea.
π ERRORS π
This request does never generate any errors. not one. zero. she's a good girl, she causes no drama, periodt. β¨
π SEE ALSO π
(also blank in the original β the vibe is "you already know" π)
β AUTHOR β
Generated from xc_misc.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. so if something's off, that's the group chat to slide into π«Ά
and that's the whole page, bestie!! mwah π this was the xcb_xc_misc_get_xid_list(3) manual from X Version 11, shipped with libxcb 1.17.0 β go forth and query those XIDs like the icon you are πβ¨
π¦ 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