xcb_glx_get_string(3)
π xcb_glx_get_string π
okay so bestie, welcome to the xcb_glx_get_string(3) page β it's part of the XCB Requests squad, and yes, the NAME section of this one is literally just the function name and a lil dash with nothing after it. iconic minimalism honestly. no cap, that's the whole name.
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header:
#include <xcb/glx.h>
πΈ Request function πΈ
xcb_glx_get_string_cookie_t xcb_glx_get_string(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t name);
π Reply datastructure π
here's the lil struct you get back, bestie β every field, no skips:
typedef struct xcb_glx_get_string_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
uint8_t pad2[16];
} xcb_glx_get_string_reply_t;
π¦ Reply function π¦
xcb_glx_get_string_reply_t
*xcb_glx_get_string_reply(xcb_connection_t *conn,
xcb_glx_get_string_cookie_t cookie, xcb_generic_error_t **e);
β Reply accessors β
the lil helpers that dig stuff out of the reply for you:
char *xcb_glx_get_string_string(const xcb_glx_get_string_request_t
*reply);
int xcb_glx_get_string_string_length(const xcb_glx_get_string_reply_t
*reply);
xcb_generic_iterator_t xcb_glx_get_string_string_end(const
xcb_glx_get_string_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. it's giving "your phone line to the server", fr.context_tagβ TODO: NOT YET DOCUMENTED. yeah bestie, the docs are ghosting us on this one, that's genuinely all it says, i'm not gonna make something up.nameβ TODO: NOT YET DOCUMENTED. same situation, the original just shrugs here. π
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_GLX_GET_STRING. this field also lives in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "which one of y'all texted me" energy.sequenceβ the sequence number of the last request the X11 server processed. it's the receipt number of the group chat.lengthβ how long the reply is, in words. and just so we're clear, a word is 4 bytes. periodt.nβ TODO: NOT YET DOCUMENTED. yeah. again. the original really said "no thoughts, head empty" for this field. π
πΈ DESCRIPTION πΈ
okay so here's the thing β the DESCRIPTION section on this page is literally empty. not a single word. the original just put the heading there and dipped. i'm not about to invent lore, so: blank it is, bestie. π
π«Ά RETURN VALUE π«Ά
you get back an xcb_glx_get_string_cookie_t. that's your lil voucher, your "your order is being prepared" notification. π
errors? those don't show up here β you handle them when you call the reply function xcb_glx_get_string_reply.
and if you'd rather catch errors in the event loop instead? use xcb_glx_get_string_unchecked. see xcb-requests(3) for the deets. iykyk.
π₯ ERRORS π₯
this request does never generate any errors. not a one. zero drama, zero chaos, purely vibes. π
π SEE ALSO π
the original lists absolutely nothing here β no references, no cross-links, nothing. an empty section, main character energy, refusing to elaborate. β¨
π AUTHOR π
generated from glx.xml. if you wanna send corrections or improvements, hit up xcb@lists.freedesktop.org. they're accepting feedback, bestie, slide into those inboxes. π
and that's a wrap on the whole page, fr fr β this one came from X Version 11, libxcb 1.17.0, and it's filed under xcb_glx_get_string(3). stay glxy, mwah π
π
π¦ 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