XCB_RES_QUERY_CLIENT_PIXMAP_BYTES_REPLY(3)
π xcb_res_query_client_pixmap_bytes β the manual page, but make it make sense π
okay bestie, pull up a chair, because we're reading a libxcb page from the XCB Requests fam and honestly? it's giving "the docs left half the homework blank." but we're gonna work with what we got, no cap. β¨
πΈ NAME πΈ
xcb_res_query_client_pixmap_bytes β and that's it. that's the whole name. the manpage literally just... stops. iconique of it, honestly. π
π¦ SYNOPSIS π¦
first things first, you gotta bring in the header:
#include <xcb/res.h>
β¨ Request function β¨
here's the lil guy you call to send the request off into the void:
xcb_res_query_client_pixmap_bytes_cookie_t
xcb_res_query_client_pixmap_bytes(xcb_connection_t *conn,
uint32_t xid);
π Reply datastructure π
and this is the struct that comes back at you β every field, verbatim, do not touch:
typedef struct xcb_res_query_client_pixmap_bytes_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t bytes;
uint32_t bytes_overflow;
} xcb_res_query_client_pixmap_bytes_reply_t;
π Reply function π
and this is how you actually go get that reply, bestie:
xcb_res_query_client_pixmap_bytes_reply_t
*xcb_res_query_client_pixmap_bytes_reply(xcb_connection_t *conn,
xcb_res_query_client_pixmap_bytes_cookie_t cookie,
xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11. the whole pipeline to the server, the main character of the operation. π₯xidβ and the docs say...TODO: NOT YET DOCUMENTED.yeah. that's it. that's the description. we know it's an id, we know it's auint32_t, and beyond that the manpage is staying mysterious. π
π REPLY FIELDS π
response_typeβ what kind of reply this is. in this case it'sXCB_RES_QUERY_CLIENT_PIXMAP_BYTES. this field also lives inxcb_generic_reply_t, so you can use it to tell your replies apart from each other when they're all just vibing in the same place. π«sequenceβ the sequence number of the last request the X11 server processed. it's the server's little timestamp of "yeah I got to this point." βlengthβ how long the reply is, measured in words. and reminder bestie: a word is 4 bytes. β¨bytesβTODO: NOT YET DOCUMENTED.the mystery continues, we love an enigma. π«Άbytes_overflowβTODO: NOT YET DOCUMENTED.the sequel to the mystery. also undocumented. also iconic for it. π
π§ DESCRIPTION π§
so... there is a DESCRIPTION section. and it is empty. completely, utterly blank. not a single word. it's giving "we made a section and forgot to fill it in," and honestly? relatable. no cap, that's just how this page is. π
π RETURN VALUE π
it hands you back an xcb_res_query_client_pixmap_bytes_cookie_t. cookies are for later, babes β errors have to be handled when you call the reply function xcb_res_query_client_pixmap_bytes_reply.
and if you'd rather catch your errors in the event loop instead of right at the reply? use xcb_res_query_client_pixmap_bytes_unchecked. the deets on all that are over in xcb-requests(3). πΈ
π ERRORS π
good news for once: this request never generates any errors. not a single one. zero. the vibes are immaculate. π
π¦ SEE ALSO π¦
...nothing here either bestie. the section exists and then simply does not elaborate. we move. π
π AUTHOR π
Generated from res.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org. they're the ones who can fix it. β¨
and that's the whole page, bestie! π«Ά this absolute legend of a manpage is brought to you by X Version 11 and libxcb 1.17.0, and if you ever wondered why half the fields say TODO β now you know, and knowing is half the battle. slay, stay connected, and may your xids always resolve. ππβ¨π
π¦ 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