xcb_render_qu..._index_values(3)
β¨ NAME β¨
xcb_render_query_pict_index_values β the manpage is out here, part of the XCB Requests crew (that's your section 3, iykyk). And bestie, the description line in the original is literally blank π so I'm not about to make up lore for you. The function name is the whole personality. Periodt.
π¦ SYNOPSIS π¦
Okay so first you gotta pull in the header, no cap:
#include <xcb/render.h>
π Request function
xcb_render_query_pict_index_values_cookie_t
xcb_render_query_pict_index_values(xcb_connection_t *conn,
xcb_render_pictformat_t format);
π Reply datastructure
typedef struct xcb_render_query_pict_index_values_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t num_values;
uint8_t pad1[20];
} xcb_render_query_pict_index_values_reply_t;
πΈ Reply function
xcb_render_query_pict_index_values_reply_t
*xcb_render_query_pict_index_values_reply(xcb_connection_t *conn,
xcb_render_query_pict_index_values_cookie_t cookie,
xcb_generic_error_t **e);
π§ Reply accessors
xcb_render_indexvalue_t *xcb_render_query_pict_index_values_values(const
xcb_render_query_pict_index_values_request_t *reply);
int xcb_render_query_pict_index_values_values_length(const
xcb_render_query_pict_index_values_reply_t *reply);
xcb_render_indexvalue_iterator_t
xcb_render_query_pict_index_values_values_iterator(const
xcb_render_query_pict_index_values_reply_t *reply);
π₯ REQUEST ARGUMENTS π₯
connβ your XCB connection to X11. Your group chat with the server, basically πformatβTODO: NOT YET DOCUMENTED.Yeah. The docs said "figure it out" and clocked out π not me reading that in the source either.
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_RENDER_QUERY_PICT_INDEX_VALUES. This field is also chilling in thexcb_generic_reply_t, and you can use it to tell your replies apart from each other. It's giving name tag at a party πsequenceβ the sequence number of the last request the X11 server actually processed. Slay, order matters.lengthβ the length of the reply, measured in words. And a word is 4 bytes, so don't come at it with a character count, bestie.num_valuesβTODO: NOT YET DOCUMENTED.Again!! π the mystery continues.
π DESCRIPTION π
The original page leaves this section empty. No prose, no vibes, no nothing. We are not inventing behaviour, that's the rule π«Ά
β RETURN VALUE β
Returns an xcb_render_query_pict_index_values_cookie_t. That's your little receipt, and the errors? You have to handle them when you call the reply function xcb_render_query_pict_index_values_reply. So don't just toss the cookie in a drawer and walk away, that's how you end up with silent problems π
But if you'd rather handle your errors inside the event loop instead, use xcb_render_query_pict_index_values_unchecked. See xcb-requests(3) for the details β it's the lore drop you need.
π ERRORS π
This request does never generate any errors. Iconic. Flawless. Zero drama. Not one single red flag πβ¨
π SEE ALSO π
This section is blank in the original β no references listed. Nothing to link, nothing to gatekeep π
πΈ AUTHOR πΈ
Generated from render.xml. Got corrections or improvements? Hit up xcb@lists.freedesktop.org β they're the main characters of this story π
and that's the whole page, bestie π X Version 11, libxcb 1.17.0 β that's the version and the source, right there at the bottom of the original, and now it's right here at the bottom of your heart. Stay hydrated, read your return values, and go handle those errors π¦π
π¦ 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