XCB_X_PRINT_PRINT_QUERY_SCREENS_UNCHECKED(3)
β¨ xcb_x_print_print_query_screens β the XCB Requests era π
okay bestie, gather round π«Ά this is the manual page for xcb_x_print_print_query_screens(3), living happily inside the XCB Requests section of your friendly neighbourhood libxcb docs. No cap, it's a whole little X Print request and we're gonna walk it together like it's a group chat. πΈ
π NAME π
xcb_x_print_print_query_screens β
so like... the description is literally empty in the original. Iconic of them honestly. We move. π
π SYNOPSIS π
First things first, you gotta pull in the header:
#include <xcb/xprint.h>
β¨ Request function β¨
xcb_x_print_print_query_screens_cookie_t
xcb_x_print_print_query_screens(xcb_connection_t *conn,
(yes the original cuts off right there after that trailing comma, we do not edit the source material, we respect the source material π)
π¦ Reply datastructure π¦
typedef struct xcb_x_print_print_query_screens_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t listCount;
uint8_t pad1[20];
} xcb_x_print_print_query_screens_reply_t;
look at those lil padding arrays, they're just vibing π
π Reply function π
xcb_x_print_print_query_screens_reply_t
*xcb_x_print_print_query_screens_reply(xcb_connection_t *conn,
xcb_x_print_print_query_screens_cookie_t cookie,
xcb_generic_error_t **e);
β Reply accessors β
xcb_window_t *xcb_x_print_print_query_screens_roots(const
xcb_x_print_print_query_screens_request_t *reply);
int xcb_x_print_print_query_screens_roots_length(const
xcb_x_print_print_query_screens_reply_t *reply);
xcb_generic_iterator_t xcb_x_print_print_query_screens_roots_end(const
xcb_x_print_print_query_screens_reply_t *reply);
π₯ REQUEST ARGUMENTS π₯
connβ bestie this is literally just your XCB connection to X11. the whole entire link to the server. the main character of the argument list, honestly π
πΈ REPLY FIELDS πΈ
response_typeβ the type of this reply, and for this one specifically it'sXCB_X_PRINT_PRINT_QUERY_SCREENS. This field also lives insidexcb_generic_reply_t, so you can use it to tell replies apart from each other. like name tags at a party πsequenceβ the sequence number of the last request that got processed by the X11 server. it's giving "what order are we in" energy βlengthβ the length of the reply, measured in words. and before you ask, a word is 4 bytes. periodt. πlistCountβ TODO: NOT YET DOCUMENTED. yeah they just left this one blank bestie, it's an unsolved mystery, we don't make stuff up here π
π DESCRIPTION π
...it's empty. genuinely nothing. the void. the silence. we respect it π«Ά
β¨ RETURN VALUE β¨
You get back an xcb_x_print_print_query_screens_cookie_t. πͺ Errors have to be handled when you call the reply function, xcb_x_print_print_query_screens_reply.
If you'd rather handle your errors in the event loop instead (valid, honestly), use xcb_x_print_print_query_screens_unchecked. Peep xcb-requests(3) for the details on all that.
π ERRORS π
This request does never generate any errors.
not a single one. zero. no drama. we love a low-maintenance request. π§
π SEE ALSO π
...also empty. they said "you already know" and honestly, iykyk π
π AUTHOR π
Generated from xprint.xml. If you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're literally asking for your feedback, so slide into those emails bestie π«Ά
and that's the whole page! footer tea for you: this is X Version 11, libxcb 1.17.0 πΈ stay hydrated, handle your errors when you call the reply function, and don't forget the padding arrays. mwah π β¨
π¦ 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