XCB_RANDR_QUERY_OUTPUT_PROPERTY_VALID_VALUES_LENGTH(3)
π 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 anxcb_randr_query_output_property_request_t *while the other two takexcb_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'sXCB_RANDR_QUERY_OUTPUT_PROPERTY. this field is also chillin' inside thexcb_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 πβ¨π¦
π¦ 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