xcb_xv_grab_port(3)
β¨ xcb_xv_grab_port β the XCB Requests one π
okay so bestie, we're looking at xcb_xv_grab_port(3) from the XCB Requests family, part of libxcb π
π NAME π
xcb_xv_grab_port β that's literally it, the manpage gives us no description and we respect the mystery π«Ά
πΈ SYNOPSIS πΈ
#include <xcb/xv.h>
β¨ Request function
xcb_xv_grab_port_cookie_t xcb_xv_grab_port(xcb_connection_t *conn,
xcb_xv_port_t port, xcb_timestamp_t time);
π¦ Reply datastructure
typedef struct xcb_xv_grab_port_reply_t {
uint8_t response_type;
uint8_t result;
uint16_t sequence;
uint32_t length;
} xcb_xv_grab_port_reply_t;
π Reply function
xcb_xv_grab_port_reply_t *xcb_xv_grab_port_reply(xcb_connection_t *conn,
xcb_xv_grab_port_cookie_t cookie, xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11, the lil lifeline, the main character πportβTODO: NOT YET DOCUMENTED.bestie the docs said "we'll do it later" and never came back πtimeβ alsoTODO: NOT YET DOCUMENTED.same energy fr fr π
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_XV_GRAB_PORT. this field is also chillin' in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other πsequenceβ the sequence number of the last request the X11 server processed, like a lil receipt number β¨lengthβ the length of the reply, in words (and a word is 4 bytes, no cap) πresultβTODO: NOT YET DOCUMENTED.yeah. yeah. π
π DESCRIPTION π
<nothing. absolutely nothing. the description section is empty and honestly? iconic.</nothing>
β RETURN VALUE β
Returns an xcb_xv_grab_port_cookie_t. and listen, errors have to be handled when you call the reply function xcb_xv_grab_port_reply β that's the whole vibe π«Ά
If you'd rather handle errors in the event loop instead, use xcb_xv_grab_port_unchecked. See xcb-requests(3) for details πΈ
π₯ ERRORS π₯
This request does never generate any errors. zero. none. flawless behavior, we love to see it π
π SEE ALSO π
(nothing here bestie, the section is empty, go forth unbothered)
π AUTHOR π
Generated from xv.xml. Contact xcb@lists.freedesktop.org for corrections and improvements π
okay so that's the whole thing, you're welcome, mwah π
signing off from X Version 11, libxcb 1.17.0, on the xcb_xv_grab_port(3) page β slay, periodt, bye 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