xcb_x_print_print_start_doc(3)
π xcb_x_print_print_start_doc β the XCB Requests girlies' guide π
okay so bestie, we're in the XCB Requests section of the manual and today's main character is xcb_x_print_print_start_doc. no cap, that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
xcb_x_print_print_start_doc β literally just the name, that's it. the original page didn't give us a one-liner description either, so we're all just out here living our truth π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header:
#include <xcb/xprint.h>
πΈ Request function πΈ
xcb_void_cookie_t xcb_x_print_print_start_doc(xcb_connection_t *conn,
uint8_t driver_mode);
look at her. two args, one cookie, zero notes. iconic behavior honestly π
β¨ REQUEST ARGUMENTS β¨
connβ yourXCBconnection toX11. the whole group chat with the X server, basically π¦driver_modeβ and here's where the plot twist is: this one isTODO: NOT YET DOCUMENTED.not me being lazy, that's genuinely what the manual says. the lore is simply not written down yet π so like, don't ask me what to pass, ask the XCB girlies.
β¨ DESCRIPTION β¨
okay so. and i cannot stress this enough. there is nothing here. the DESCRIPTION section is empty in the original. not a single sentence. zero. void. she's giving mystery, she's giving silence, she's giving xcb_void_cookie_t energy π
β¨ RETURN VALUE β¨
she returns an xcb_void_cookie_t. that's your lil receipt bestie π§Ύ and here's the tea: any errors (if there even are any) have to be handled in the event loop. like, you don't just get them handed to you, you gotta go collect them.
if you'd rather handle errors directly with xcb_request_check instead, then use xcb_x_print_print_start_doc_checked. different function, different vibe, same request.
for all the deets on that, go read xcb-requests(3). it's the required reading, fr fr π
β¨ ERRORS β¨
This request does never generate any errors. πβ¨
not one. she's flawless. no drama, no errors, no notes. periodt π
β¨ SEE ALSO β¨
...and that's the section. empty. nothing listed. the "see also" girlies did not show up today π
β¨ AUTHOR β¨
this whole thing was Generated from xprint.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're the ones who actually take the feedback π
and that's the page!! π before i go, a lil sign-off for the record books: this is X Version 11, running libxcb 1.17.0, filed under xcb_x_print_print_start_doc(3). slay, stay hydrated, and always handle your errors in the event loop bestie πππ¦
π¦ 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