XCB_X_PRINT_PRINT_DESTROY_CONTEXT(3)
π xcb_x_print_print_destroy_context π
okay bestie, so this is a page from the XCB Requests family β it's the libxcb manual for xcb_x_print_print_destroy_context(3), straight out of the X Version 11 / libxcb world. buckle up, it's a short one but we're gonna make it cute. π
β¨ NAME β¨
xcb_x_print_print_destroy_context β (yeah the name field is literally empty in the original, the function name is doing all the heavy lifting here, iconic of it tbh)
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <xcb/xprint.h>
Request function
xcb_void_cookie_t
xcb_x_print_print_destroy_context(xcb_connection_t *conn,
uint32_t context);
like. that's it. that's the whole function. she's simple, she's a void cookie, she's giving low maintenance. π
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. your link to the mothership, your group chat with the X server. no conn, no vibes.contextβ TODO: NOT YET DOCUMENTED. yeah bestie, they really just left us on read with that one. no cap, the docs said "not yet documented" and then closed the laptop. π
π DESCRIPTION π
...it's empty. genuinely, completely, 100% empty in the original. not a single word. the description section is giving mystery, giving enigmatic main character, giving we ran out of time before the release. the silence is loud, fr fr. π
π₯ RETURN VALUE π₯
she returns an xcb_void_cookie_t. because that's what void requests do β they hand you a cookie and β¨nothing elseβ¨.
errors (if any, and here there are none, see below π) have to be handled in the event loop. that's the deal. that's the assignment.
if you're the kind of person who wants to handle errors directly instead of doing the whole event loop dance, you use xcb_request_check β and in that case, use xcb_x_print_print_destroy_context_checked instead. see xcb-requests(3) for all the details, she explains the cookie/checked situation way better than I can. π
π ERRORS π
this request never generates any errors. zero. none. zilch. the vibe check is immaculate, she simply cannot fail. π
π§ SEE ALSO π§
bestie... it's blank. the SEE ALSO section sees no one. the cross-references ghosted us. π
π AUTHOR π
Generated from xprint.xml. if you've got corrections and improvements, hit up xcb@lists.freedesktop.org β they're the ones who can fix it, not me, I'm just the messenger with good taste. π«Ά
and that's the whole page, babes. β¨ this came to you from X Version 11, rocking libxcb 1.17.0 β a real classic, a legend, an icon. 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