xcb_xv_put_image(3)
π xcb_xv_put_image β the XCB request page, bestie edition π
okay so real talk: this is the manual page for xcb_xv_put_image from libxcb (that's the XCB Requests family, X Version 11 energy). Strap in, it's a whole vibe. β¨
πΈ NAME πΈ
xcb_xv_put_image β and honestly? The original page gives you a dash and nothing else. The description slot is just sitting there empty, being mysterious. Iconic of it, honestly. π
β¨ SYNOPSIS β¨
First things first, you gotta pull in the header, no cap:
#include <xcb/xv.h>
π¦ Request function π¦
Here's the whole entire signature, character for character, because we do NOT freestyle function prototypes in this house:
xcb_void_cookie_t xcb_xv_put_image(xcb_connection_t *conn,
xcb_xv_port_t port, xcb_drawable_t drawable, xcb_gcontext_t gc,
uint32_t id, int16_t src_x, int16_t src_y, uint16_t src_w,
uint16_t src_h, int16_t drw_x, int16_t drw_y, uint16_t drw_w,
uint16_t drw_h, uint16_t width, uint16_t height,
uint32_t data_len, const uint8_t *data);
Look at all those arguments. Seventeen of them. She's long, she's committed, she knows what she wants. π
π REQUEST ARGUMENTS π
Okay so here's the thing, and I need you to be seated for this one: every single one of these arguments says TODO: NOT YET DOCUMENTED. Like. All of them. Every last one. The docs said "we'll get to it" and then did not get to it. π
So here's the full roster, faithfully reproduced, vibes and all:
connβ the XCB connection to X11. She's the one who actually knows people. π«ΆportβTODO: NOT YET DOCUMENTED.drawableβTODO: NOT YET DOCUMENTED.gcβTODO: NOT YET DOCUMENTED.idβTODO: NOT YET DOCUMENTED.src_xβTODO: NOT YET DOCUMENTED.src_yβTODO: NOT YET DOCUMENTED.src_wβTODO: NOT YET DOCUMENTED.src_hβTODO: NOT YET DOCUMENTED.drw_xβTODO: NOT YET DOCUMENTED.drw_yβTODO: NOT YET DOCUMENTED.drw_wβTODO: NOT YET DOCUMENTED.drw_hβTODO: NOT YET DOCUMENTED.widthβTODO: NOT YET DOCUMENTED.heightβTODO: NOT YET DOCUMENTED.data_lenβTODO: NOT YET DOCUMENTED.dataβTODO: NOT YET DOCUMENTED.
Sixteen mystery arguments and one conn who's carrying the entire narrative. Not me side-eyeing the documentation team. π
π DESCRIPTION π
Soβ¦ the DESCRIPTION section? It's empty. Not "short." Not "brief." Empty. The original page just goes straight from the heading to the next section like nothing happened. The audacity. The confidence. She's giving minimalism, she's giving "I said what I said." β¨
So like, technically there's nothing to tell you here that the original didn't already not-tell you. We move. π¦
π RETURN VALUE π
She hands you back an xcb_void_cookie_t. That's the whole return situation. π
And listen β because it's a void cookie, any errors are NOT gonna jump out at you right here. You have to go handle them in the event loop, bestie. That's just how it is. π
BUT. If you're the type who wants to deal with errors immediately, face to face, no games β use xcb_xv_put_image_checked with xcb_request_check instead. That's the direct line. See xcb-requests(3) for the whole breakdown, iykyk. π
π₯ ERRORS π₯
This request never generates any errors. Zero. None. Nada. Clean slate, no drama, no notes. β¨
π§ SEE ALSO π§
literally nothing here β the original page leaves this section completely empty. No references, no cross-links, no crumbs. Just a heading and then silence. We respect it, we don't understand it, but we respect it. π
π AUTHOR π
Generated from xv.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β that's the official address for "hey bestie, this is wrong" energy. π«Ά
and that's the whole page, fr fr. this one came to you from X Version 11 and libxcb 1.17.0 β go forth, pass those seventeen arguments, and remember: errors go in the event loop unless you call the _checked version. 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