xcb_glx_get_minmax(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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's XCB_GLX_GET_MINMAX. this field is also hanging out in the xcb_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 πŸ’…πŸ’–