xcb_glx_get_minmax(3)
β¨ xcb_glx_get_minmax(3) β¨
okay bestie so we're in the XCB Requests section of the manual, and today's main character is xcb_glx_get_minmax π
this is the GLX one, from libxcb, and no cap it's a whole request/reply situation.
πΈ NAME πΈ
xcb_glx_get_minmax β (the original page literally leaves the description blank here, so yeah, it's giving mysterious. we move.)
π¦ SYNOPSIS π¦
First things first, you gotta pull in the header:
#include <xcb/glx.h>
π Request function
xcb_glx_get_minmax_cookie_t xcb_glx_get_minmax(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
uint32_t format, uint32_t type, uint8_t swap_bytes,
uint8_t reset);
π Reply datastructure
typedef struct xcb_glx_get_minmax_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[24];
} xcb_glx_get_minmax_reply_t;
π Reply function
xcb_glx_get_minmax_reply_t
*xcb_glx_get_minmax_reply(xcb_connection_t *conn,
xcb_glx_get_minmax_cookie_t cookie, xcb_generic_error_t **e);
π Reply accessors
uint8_t *xcb_glx_get_minmax_data(const xcb_glx_get_minmax_request_t
*reply);
int xcb_glx_get_minmax_data_length(const xcb_glx_get_minmax_reply_t
*reply);
xcb_generic_iterator_t xcb_glx_get_minmax_data_end(const
xcb_glx_get_minmax_reply_t *reply);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11. the whole lifeline, periodt.context_tagβ TODO: NOT YET DOCUMENTED. yeah. the manpage said what it said. i'm not gonna invent lore that isn't there πtargetβ TODO: NOT YET DOCUMENTED.formatβ TODO: NOT YET DOCUMENTED.typeβ TODO: NOT YET DOCUMENTED.swap_bytesβ TODO: NOT YET DOCUMENTED.resetβ TODO: NOT YET DOCUMENTED.
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_GLX_GET_MINMAX. this field is also hanging out in thexcb_generic_reply_t, so you can use it to tell replies apart from each other. it's like a little name tag at a party π«Άsequenceβ the sequence number of the last request the X11 server processed.lengthβ the length of the reply, in words. and reminder: a word is 4 bytes. so do the math, bestie, it's giving multiplication π
π DESCRIPTION π
so... the DESCRIPTION section on the original page is literally empty. nothing. a void. iconic of it honestly. there is no extra description to relay, so i'm not gonna make one up β that's the whole vibe.
β RETURN VALUE β
Returns an xcb_glx_get_minmax_cookie_t. Errors have to be handled when you call the reply function xcb_glx_get_minmax_reply.
If you'd rather handle errors in the event loop instead, use xcb_glx_get_minmax_unchecked. See xcb-requests(3) for the details, iykyk.
π ERRORS π
This request does never generate any errors. zero. none. it's a good vibes only request, lowkey a blessing π
π SEE ALSO π
(empty on the original page β nothing listed. yeah. i said what the page said.)
π AUTHOR π
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. go off, XML generator β¨
and that's a wrap, bestie π§ this little masterpiece comes to you from X Version 11 and libxcb 1.17.0, straight out of the xcb_glx_get_minmax(3) manual. slay, stay hydrated, and always free your cookies π
π
π¦ 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