XCB_GLX_VENDOR_PRIVATE_WITH_REPLY_DATA_2_LENGTH(3)
π xcb_glx_vendor_private_with_reply β bestie, it's a libxcb request page
okay so. this is a page from the XCB Requests manual β like, the X protocol crew's whole thing β and today's main character is xcb_glx_vendor_private_with_reply. yes the name is a mouthful, no we are not shortening it, it's β¨iconicβ¨ exactly as it is.
πΈ NAME πΈ
xcb_glx_vendor_private_with_reply β and that's literally all the original says about it, so that's all we're claiming. no cap. π
β¨ SYNOPSIS β¨
first up, you gotta bring in the header, obvi:
#include <xcb/glx.h>
π Request function
xcb_glx_vendor_private_with_reply_cookie_t
xcb_glx_vendor_private_with_reply(xcb_connection_t *conn,
uint32_t vendor_code, xcb_glx_context_tag_t context_tag,
uint32_t data_len, const uint8_t *data);
π¦ Reply datastructure
typedef struct xcb_glx_vendor_private_with_reply_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t retval;
uint8_t data1[24];
} xcb_glx_vendor_private_with_reply_reply_t;
π Reply function
xcb_glx_vendor_private_with_reply_reply_t
*xcb_glx_vendor_private_with_reply_reply(xcb_connection_t *conn,
xcb_glx_vendor_private_with_reply_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors
uint8_t *xcb_glx_vendor_private_with_reply_data_2(const
xcb_glx_vendor_private_with_reply_request_t *reply);
int xcb_glx_vendor_private_with_reply_data_2_length(const
xcb_glx_vendor_private_with_reply_reply_t *reply);
xcb_generic_iterator_t
xcb_glx_vendor_private_with_reply_data_2_end(const
xcb_glx_vendor_private_with_reply_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your link to the server, your ride or die π«Άvendor_codeβ TODO: NOT YET DOCUMENTED. yeah babe the docs really just left us on read here πcontext_tagβ TODO: NOT YET DOCUMENTED. same vibe, nobody wrote it down πdata_lenβ TODO: NOT YET DOCUMENTED. mystery behavior, we stay humble πdataβ TODO: NOT YET DOCUMENTED. also undocumented, also not our fault β¨
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_GLX_VENDOR_PRIVATE_WITH_REPLY. this field also lives in thexcb_generic_reply_t, which is how you tell replies apart from each other β it's giving name tag at a party πsequenceβ the sequence number of the last request the X11 server processed. the receipts, basically π§Ύlengthβ the length of the reply, measured in words, and a word is 4 bytes. so, math, but make it X11 β¨retvalβ TODO: NOT YET DOCUMENTED. π«data1β TODO: NOT YET DOCUMENTED. π«
π DESCRIPTION π
okay so the original page has literally nothing under DESCRIPTION. it's a blank canvas. an empty group chat. no notes, no lore, no tea. we are not inventing any β that's the rule, bestie. π
π₯ RETURN VALUE π₯
it hands you back an xcb_glx_vendor_private_with_reply_cookie_t. a cookie!! πͺ
errors? you handle those when you call the reply function, xcb_glx_vendor_private_with_reply_reply.
and if you'd rather handle errors in the event loop instead, use xcb_glx_vendor_private_with_reply_unchecked. see xcb-requests(3) for the details β go read it, it's the blueprint fr fr.
π ERRORS π
This request does never generate any errors. not a single one. zero drama, no chaos, immaculate behavior. slay. β¨
π SEE ALSO π
yeah the original leaves this empty too. nothing linked, nothing referenced. we're keeping it exactly that way β an empty shelf with great energy. π¦
π AUTHOR π
generated from glx.xml. contact xcb@lists.freedesktop.org for corrections and improvements β they're literally asking for your notes, so if something's off, tell them, don't just suffer in silence bestie π«Ά
and that's the whole page, mwah π. this one came from the X Version 11 manual set, libxcb 1.17.0, and it's a xcb_glx_vendor_private_with_reply(3) situation through and through. stay hydrated, go read xcb-requests(3), and remember: undocumented fields are still fields. periodt. π
β¨
π¦ 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