xcb_dri3_fd_from_fence(3)
β¨ NAME β¨
xcb_dri3_fd_from_fence β bestie, the description slot is literally empty, the manpage left it blank, so we're just vibing with the name itself π
π¦ SYNOPSIS π¦
#include <xcb/dri3.h>
π Request function
xcb_dri3_fd_from_fence_cookie_t
xcb_dri3_fd_from_fence(xcb_connection_t *conn,
xcb_drawable_t drawable, uint32_t fence);
π Reply datastructure
typedef struct xcb_dri3_fd_from_fence_reply_t {
uint8_t response_type;
uint8_t nfd;
uint16_t sequence;
uint32_t length;
uint8_t pad0[24];
} xcb_dri3_fd_from_fence_reply_t;
π Reply function
xcb_dri3_fd_from_fence_reply_t
*xcb_dri3_fd_from_fence_reply(xcb_connection_t *conn,
xcb_dri3_fd_from_fence_cookie_t cookie, xcb_generic_error_t **e);
πΈ REQUEST ARGUMENTS πΈ
connβ your XCB connection to X11, the whole pipeline to the server, no cap.drawableβ okay so the manpage literally says "TODO: NOT YET DOCUMENTED." and honestly? same energy, it's giving mystery π we're not gonna pretend we know more than the docs do.fenceβ also "TODO: NOT YET DOCUMENTED." bestie, the docs said nothing and I'm not about to make stuff up β¨
π REPLY FIELDS π
response_typeβ the type of this reply, and in this specific case it'sXCB_DRI3_FD_FROM_FENCE. it also lives 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 that got processed by the X11 server, iconic bookkeeping fr fr.lengthβ how long the reply is, measured in words (and a word is4bytes, remember that π§).nfdβ "TODO: NOT YET DOCUMENTED." yeah, the docs just didn't π«Άfence_fdβ "TODO: NOT YET DOCUMENTED." also a mystery, we move π
π DESCRIPTION π
The DESCRIPTION section is empty in the original, bestie β not a single sentence, zero, nada. So there's nothing to tell you here except: this is where the description would be if anyone had written one. vibe check passed, content pending π
β RETURN VALUE β
You get back an xcb_dri3_fd_from_fence_cookie_t. Errors? Those have to be handled when you call the reply function xcb_dri3_fd_from_fence_reply. periodt.
But wait β if you'd rather handle your errors in the event loop instead, then you use xcb_dri3_fd_from_fence_unchecked. See xcb-requests(3) for all the details on that, iykyk.
π ERRORS π
This request does never generate any errors. not one, zero, a totally clean slate, we love that for us π
π¦ SEE ALSO π¦
Empty, bestie. The SEE ALSO section has nothing in it β no references, no cross-links, just vibes β¨
π AUTHOR π
Generated from dri3.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β that's literally the whole line, go off π
okay bestie that's the whole page, you ate it up π this was X Version 11, libxcb 1.17.0, and yeah the date slot is just as mysterious as the TODOs up there β but you got this, go forth and slay ππ¦β¨
π¦ 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