xcb_glx_is_query_arb(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_is_query_arb β€” from the XCB Requests girlies (section 3 of your manual, bestie)

okay so real talk, this is a page straight out of libxcb's GLX corner, and it's one of those ones where the docs are like... a little mysterious. We're gonna walk through it together though, no cap. πŸ¦‹


✨ NAME ✨

xcb_glx_is_query_arb β€” and honestly? The original page leaves the description blank, so there is literally nothing written here. Iconic of it, honestly. 🫢


🌸 SYNOPSIS 🌸

First things first, you gotta pull in the header:

#include <xcb/glx.h>

πŸ’– Request function πŸ’–

xcb_glx_is_query_arb_cookie_t
       xcb_glx_is_query_arb(xcb_connection_t *conn,
       xcb_glx_context_tag_t context_tag, uint32_t id);

πŸ’– Reply datastructure πŸ’–

typedef struct xcb_glx_is_query_arb_reply_t {
    uint8_t          response_type;
    uint8_t          pad0;
    uint16_t         sequence;
    uint32_t         length;
    xcb_glx_bool32_t ret_val;
} xcb_glx_is_query_arb_reply_t;

πŸ’– Reply function πŸ’–

xcb_glx_is_query_arb_reply_t
       *xcb_glx_is_query_arb_reply(xcb_connection_t *conn,
       xcb_glx_is_query_arb_cookie_t cookie, xcb_generic_error_t **e);

πŸŽ€ REQUEST ARGUMENTS πŸŽ€

  • conn β€” the XCB connection to X11. your lil lifeline to the server, periodt. πŸ’«
  • context_tag β€” TODO: NOT YET DOCUMENTED. yeah bestie, that's all we got. the mystery is part of the charm. πŸ™ˆ
  • id β€” TODO: NOT YET DOCUMENTED. also a mystery. we move. πŸ’€

🌈 REPLY FIELDS 🌈

  • response_type β€” the type of this reply. In this case it's XCB_GLX_IS_QUERY_ARB. This field is also chillin' inside xcb_generic_reply_t, and it's how you tell your replies apart from each other. v important, don't skip it. πŸ‘‘
  • sequence β€” the sequence number of the last request the X11 server processed. it's giving receipt. 🧾
  • length β€” how long the reply is, in words. and reminder bestie: a word is 4 bytes. ✨
  • ret_val β€” TODO: NOT YET DOCUMENTED. the plot thickens. πŸ“

πŸ’œ DESCRIPTION πŸ’œ

So... the original page has this heading and then absolutely nothing under it. An empty section. A void. The main character energy of just not explaining yourself. 😭


⭐ RETURN VALUE ⭐

It hands you back an xcb_glx_is_query_arb_cookie_t. πŸͺ

Errors? You handle those when you call the reply function, xcb_glx_is_query_arb_reply.

But wait β€” if you'd rather deal with errors in the event loop instead, use xcb_glx_is_query_arb_unchecked. See xcb-requests(3) for the deets. πŸ“š


πŸ”₯ ERRORS πŸ”₯

This request never generates any errors. Ever. Zero. None. It's the chillest request in the group chat. 🧚


πŸ¦‹ SEE ALSO πŸ¦‹

Yeah so... there's nothing listed here. No cross-references. Just vibes. If you were hoping for a friend to click through to, sorry bestie, it's just you and this page. πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (So if something's wrong, that's the group chat to slide into. they're nice, I promise. 🫢)


ok that's the whole page, you ate that πŸ’– go forth and query, or whatever this does once someone documents it. 🌸

X Version 11 β€’ libxcb 1.17.0 β€’ xoxo, your favorite manual page πŸŽ€βœ¨