xcb_glx_query_server_string(3)
β¨ NAME β¨
xcb_glx_query_server_string β bestie, the description slot on this one is literally empty, like an unanswered text at 3am. That's it, that's the name, we move π
π SYNOPSIS
π«Ά Request function
#include <xcb/glx.h>
xcb_glx_query_server_string_cookie_t
xcb_glx_query_server_string(xcb_connection_t *conn,
uint32_t screen, uint32_t name);
π Reply datastructure
typedef struct xcb_glx_query_server_string_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t str_len;
uint8_t pad2[16];
} xcb_glx_query_server_string_reply_t;
π Reply function
xcb_glx_query_server_string_reply_t
*xcb_glx_query_server_string_reply(xcb_connection_t *conn,
xcb_glx_query_server_string_cookie_t cookie,
xcb_generic_error_t **e);
π¦ Reply accessors
char *xcb_glx_query_server_string_string(const
xcb_glx_query_server_string_request_t *reply);
int xcb_glx_query_server_string_string_length(const
xcb_glx_query_server_string_reply_t *reply);
xcb_generic_iterator_t xcb_glx_query_server_string_string_end(const
xcb_glx_query_server_string_reply_t *reply);
πΈ REQUEST ARGUMENTS πΈ
connβ your XCB connection to X11, the ride-or-die that carries every request. no conn, no vibes β¨screenβ TODO: NOT YET DOCUMENTED. yeah bestie the docs said "later" and later never came πnameβ TODO: NOT YET DOCUMENTED. same energy, same empty page, we stay strong π«Ά
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_GLX_QUERY_SERVER_STRING. this field is also chillin' insidexcb_generic_reply_t, so 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. the receipt, basically π§Ύlengthβ how long the reply is, measured in words (and a word is 4 bytes, keep that in your notes π).str_lenβ TODO: NOT YET DOCUMENTED. the mystery member of the struct, we love an enigma π
π DESCRIPTION π
Okay soβ¦ there is genuinely nothing here. Like, the original page has the heading and then silence. Empty. A void. Main character with no lines π We're not inventing lore that isn't there, so consider this your official vibe check: no description, no cap.
β RETURN VALUE β
You get back an xcb_glx_query_server_string_cookie_t. Adorable. But listen β errors have to be handled when you call the reply function xcb_glx_query_server_string_reply.
If you'd rather handle errors in the event loop instead (very valid, very β¨organizedβ¨ of you), use xcb_glx_query_server_string_unchecked. Head over to xcb-requests(3) for the full tea β
π₯ ERRORS π₯
This request does never generate any errors. literally never. zero drama, zero chaos, an absolute angel π no xcb_generic_error_t jumpscares for you, bestie.
π SEE ALSO π
Nothing listed here β the SEE ALSO section is as empty as my schedule on a Sunday π
πΈ AUTHOR πΈ
Generated from glx.xml. If you spot something wrong or wanna make it better, contact xcb@lists.freedesktop.org β they're taking corrections and improvements, and honestly? slay for that π«Ά
okay that's the whole page, you made it to the end, iconic behavior honestly. This one came to you from X Version 11 and libxcb 1.17.0 β go forth and query those server strings, bestie πβ¨ππ¦
π¦ 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