XCB_RANDR_QUERY_OUTPUT_PROPERTY_VALID_VALUES_LENGTH(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_query_output_property(3) πŸ’–

okay bestie, so this is a page from the XCB Requests manual family, and it's literally about asking your X server "hey, what's up with this output property?" πŸ¦‹ it lives in the xcb/randr.h header, and ngl the docs are... a little shy on details. we're gonna work with what we've got, no cap.


✨ NAME ✨

xcb_randr_query_output_property β€” and that's it. the description line is empty, bestie. iconic of it honestly. πŸ™ˆ


✨ SYNOPSIS ✨

first up, include the header:

#include <xcb/randr.h>

πŸŽ€ Request function

xcb_randr_query_output_property_cookie_t
       xcb_randr_query_output_property(xcb_connection_t *conn,
       xcb_randr_output_t output, xcb_atom_t property);

πŸŽ€ Reply datastructure

typedef struct xcb_randr_query_output_property_reply_t {
    uint8_t  response_type;
    uint8_t  pad0;
    uint16_t sequence;
    uint32_t length;
    uint8_t  pending;
    uint8_t  range;
    uint8_t  immutable;
    uint8_t  pad1[21];
} xcb_randr_query_output_property_reply_t;

πŸŽ€ Reply function

xcb_randr_query_output_property_reply_t
       *xcb_randr_query_output_property_reply(xcb_connection_t *conn,
       xcb_randr_query_output_property_cookie_t cookie,
       xcb_generic_error_t **e);

πŸŽ€ Reply accessors

int32_t *xcb_randr_query_output_property_valid_values(const
       xcb_randr_query_output_property_request_t *reply);

int xcb_randr_query_output_property_valid_values_length(const
       xcb_randr_query_output_property_reply_t *reply);

xcb_generic_iterator_t
       xcb_randr_query_output_property_valid_values_end(const
       xcb_randr_query_output_property_reply_t *reply);
heads up: yes, that first accessor really does take an xcb_randr_query_output_property_request_t * while the other two take xcb_randr_query_output_property_reply_t *. we are reporting what the page says, bestie. πŸ’…

🌸 REQUEST ARGUMENTS 🌸

  • conn β€” the XCB connection to X11. your lil hotline to the server. πŸ’œ
  • output β€” TODO: NOT YET DOCUMENTED. the docs simply did not show up for this one. 😭
  • property β€” TODO: NOT YET DOCUMENTED. same energy, no notes. 😭

🌈 REPLY FIELDS 🌈

  • response_type β€” the type of this reply, and in this case it's XCB_RANDR_QUERY_OUTPUT_PROPERTY. this field is also chillin' inside the xcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "which one of y'all is this" energy. πŸ‘‘
  • sequence β€” the sequence number of the last request processed by the X11 server. it's the receipts. 🧾
  • length β€” the length of the reply, in words (a word is 4 bytes). so multiply by 4 if you want bytes, iykyk. ⭐
  • pending β€” TODO: NOT YET DOCUMENTED. πŸ™ˆ
  • range β€” TODO: NOT YET DOCUMENTED. πŸ™ˆ
  • immutable β€” TODO: NOT YET DOCUMENTED. πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

...and that's the whole section, bestie. it's empty. the vibes are immaculate but the words are not there. 🫢


πŸ’… RETURN VALUE πŸ’…

it hands you back an xcb_randr_query_output_property_cookie_t. and listen β€” errors have to be handled when you call the reply function xcb_randr_query_output_property_reply. that's the moment of truth.

if you'd rather handle errors in the event loop instead, use xcb_randr_query_output_property_unchecked. peep xcb-requests(3) for the deets on how that works. ✨


πŸ“ ERRORS πŸ“

this request does never generate any errors. clean. flawless. no drama. periodt. πŸ’–

🧚 SEE ALSO 🧚

(empty, bestie. not a single reference. the page said nothing and left. 😭)


πŸ‘‘ AUTHOR πŸ‘‘

generated from randr.xml. if you wanna send corrections or improvements, hit up xcb@lists.freedesktop.org. they're the main characters of this origin story. 🌟


okay that's the whole page bestie, mwah πŸ’– this one came from X Version 11, libxcb 1.17.0, and it's the xcb_randr_query_output_property(3) page β€” go query something iconic, you got this πŸŽ€βœ¨πŸ¦‹