XCB_GLX_GET_MINMAX_PARAMETERIV_UNCHECKED(3)
xcb_glx_get_minmax_parameteriv π β¨
okay bestie, welcome to the XCB Requests chapter of your life π this one's a libxcb request page, and no cap, it is extremely niche. it's giving "GLX minmax parameter, but make it iv". let's get into it π¦
β¨ NAME β¨
xcb_glx_get_minmax_parameteriv β and that's genuinely it, the original NAME section is just a lil dash with nothing after it π the name is the whole personality here.
πΈ SYNOPSIS πΈ
First things first, you gotta bring in the header, periodt:
#include <xcb/glx.h>
π Request function
xcb_glx_get_minmax_parameteriv_cookie_t
xcb_glx_get_minmax_parameteriv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
uint32_t pname);
π Reply datastructure
here's the reply struct, look at her π
typedef struct xcb_glx_get_minmax_parameteriv_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
int32_t datum;
uint8_t pad2[12];
} xcb_glx_get_minmax_parameteriv_reply_t;
π Reply function
xcb_glx_get_minmax_parameteriv_reply_t
*xcb_glx_get_minmax_parameteriv_reply(xcb_connection_t *conn,
xcb_glx_get_minmax_parameteriv_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors
these are the lil helpers that reach into the reply for you, so you don't have to do the pointer math yourself (we love her for that) π«Ά
int32_t *xcb_glx_get_minmax_parameteriv_data(const
xcb_glx_get_minmax_parameteriv_request_t *reply);
int xcb_glx_get_minmax_parameteriv_data_length(const
xcb_glx_get_minmax_parameteriv_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_minmax_parameteriv_data_end(const
xcb_glx_get_minmax_parameteriv_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your main character, fr.context_tagβ TODO: NOT YET DOCUMENTED. (not me getting nothing from the docs π)targetβ TODO: NOT YET DOCUMENTED. (same energy π)pnameβ TODO: NOT YET DOCUMENTED. (they really said "figure it out bestie" π)
π¦ REPLY FIELDS π¦
response_typeβ the type of this reply, and in this specific case it'sXCB_GLX_GET_MINMAX_PARAMETERIV. this field is also chillin' inside thexcb_generic_reply_t, and you can use it to tell replies apart from each other. lowkey iconic for that.sequenceβ the sequence number of the last request that the X11 server processed. it's giving "where were we" energy.lengthβ how long the reply is, in words. and yes, a word here is 4 bytes. remember that, iykyk.nβ TODO: NOT YET DOCUMENTED. (bestie the docs are empty π)datumβ TODO: NOT YET DOCUMENTED. (yeah. also empty. we move.)
π DESCRIPTION π
...yeah there's literally nothing here. the DESCRIPTION section is empty. it's giving silence, it's giving mystery, it's giving "the source code is the documentation" π§ no cap, that's just how this page is.
π RETURN VALUE π
okay so you get back an xcb_glx_get_minmax_parameteriv_cookie_t. cute. but here's the thing β errors have to be handled when you call the reply function, xcb_glx_get_minmax_parameteriv_reply.
if you'd rather handle errors in the event loop instead (very valid, very main character of you), use xcb_glx_get_minmax_parameteriv_unchecked. and go read xcb-requests(3) for the details, she explains it all π
π₯ ERRORS π₯
This request does never generate any errors. π
no errors, no drama, we love a clean run. periodt.
β SEE ALSO β
...the original page has nothing listed under SEE ALSO. iconic of her honestly. (though xcb-requests(3) does get a shoutout up in RETURN VALUE, so go say hi π)
π AUTHOR π
Generated from glx.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're literally asking for it, so don't be shy bestie π
and that's the whole page, babe πΈ this was X Version 11, from libxcb 1.17.0 β so if you were out here wondering where this came from, now you know. go forth and get those minmax parameteriv values, you absolute legend π¦β¨π
π¦ 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