xcb_randr_get_providers(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_randr_get_providers πŸ’–

okay bestie, we're in the XCB Requests manual and this is page xcb_randr_get_providers(3), coming at you live from X Version 11 / libxcb 1.17.0. let's get into it πŸ¦‹


🌸 NAME 🌸

xcb_randr_get_providers β€” …and that's literally it, no description bestie, the manpage said dash and dipped 😭


✨ SYNOPSIS ✨

#include <xcb/randr.h>

πŸŽ€ Request function

xcb_randr_get_providers_cookie_t
xcb_randr_get_providers(xcb_connection_t *conn,
                        xcb_window_t window);

πŸŽ€ Reply datastructure

typedef struct xcb_randr_get_providers_reply_t {
    uint8_t         response_type;
    uint8_t         pad0;
    uint16_t        sequence;
    uint32_t        length;
    xcb_timestamp_t timestamp;
    uint16_t        num_providers;
    uint8_t         pad1[18];
} xcb_randr_get_providers_reply_t;

πŸŽ€ Reply function

xcb_randr_get_providers_reply_t
*xcb_randr_get_providers_reply(xcb_connection_t *conn,
                               xcb_randr_get_providers_cookie_t cookie,
                               xcb_generic_error_t **e);

πŸŽ€ Reply accessors

xcb_randr_provider_t *xcb_randr_get_providers_providers(const xcb_randr_get_providers_request_t *reply);

int xcb_randr_get_providers_providers_length(const xcb_randr_get_providers_reply_t *reply);

xcb_generic_iterator_t xcb_randr_get_providers_providers_end(const xcb_randr_get_providers_reply_t *reply);

πŸ’… REQUEST ARGUMENTS πŸ’…

  • conn β€” your XCB connection to X11. it's the link-up, the group chat with the server, the whole vibe πŸ’«
  • window β€” TODO: NOT YET DOCUMENTED. yeah bestie, they left us on read on this one πŸ™ˆ

πŸ”₯ REPLY FIELDS πŸ”₯

  • response_type β€” the type of this reply, and in this case it's XCB_RANDR_GET_PROVIDERS. this field is also present in the xcb_generic_reply_t, so you can use it to tell replies apart from each other. it's giving name tag at a party πŸŽ€
  • sequence β€” the sequence number of the last request processed by the X11 server. the receipt, basically 🧾
  • length β€” the length of the reply, in words. and a word is 4 bytes, no cap ✨
  • timestamp β€” TODO: NOT YET DOCUMENTED. πŸ“­
  • num_providers β€” TODO: NOT YET DOCUMENTED. πŸ“­

πŸ¦‹ DESCRIPTION πŸ¦‹

…nothing here. the section exists and it's empty. the silence is deafening bestie πŸ’€


🌈 RETURN VALUE 🌈

Returns an xcb_randr_get_providers_cookie_t. errors have to be handled when you call the reply function xcb_randr_get_providers_reply. so like, don't just ghost the return value πŸ‘‘

if you'd rather handle errors in the event loop instead, use xcb_randr_get_providers_unchecked. see xcb-requests(3) for details.


πŸ’€ ERRORS πŸ’€

This request does never generate any errors. clean page, zero drama, we love to see it 🫢


⭐ SEE ALSO ⭐

…also empty. iconic behaviour honestly. the vibes are immaculate and the cross-references are nonexistent ✨


πŸ‘‘ AUTHOR πŸ‘‘

Generated from randr.xml. contact xcb@lists.freedesktop.org for corrections and improvements. so if something's off, that's the address, don't come for me πŸ’œ


and that's the whole page bestie!! πŸ’– this lil cutie came from X Version 11, libxcb 1.17.0, and it's dated xcb_randr_get_providers(3). slay, go forth, and query those providers πŸŒΈπŸŽ€πŸ¦‹