xcb_sync_change_counter(3)
π xcb_sync_change_counter(3) π
okay bestie, so this is a page out of the XCB Requests manual, and it's all about the function xcb_sync_change_counter. The NAME section is honestly giving absolutely nothing β the description line is just blank, fr fr. Not a single word of summary. We move anyway. π
β¨ SYNOPSIS β¨
First you gotta pull in the header, like so:
#include <xcb/sync.h>
π¦ Request function
xcb_void_cookie_t xcb_sync_change_counter(xcb_connection_t *conn,
xcb_sync_counter_t counter, xcb_sync_int64_t amount);
Look at that signature, it's literally iconic. π
πΈ REQUEST ARGUMENTS πΈ
connβ the XCB connection to X11. that's your link to the whole X situation, no cap.counterβ TODO: NOT YET DOCUMENTED. yeah bestie, the docs just didn't show up for this one πamountβ TODO: NOT YET DOCUMENTED. same energy. the manual left this blank, so I'm leaving it blank too. I do not make the rules. π«Ά
π DESCRIPTION π
so... there is a DESCRIPTION heading, and underneath it there is nothing. empty. void. the description is not described. it's giving mystery. π
β RETURN VALUE β
You get back an xcb_void_cookie_t. That's the deal. If there are any errors β if any, key word β you have to handle them in the event loop, because that's just how the cookie crumbles. πͺ
If you'd rather deal with errors directly using xcb_request_check instead, then you want xcb_sync_change_counter_checked. Peep xcb-requests(3) for all the deets on how that works. π
π ERRORS π
okay so good news for real: this request does never generate any errors. none. zero. clean slate. slay. β¨
π SEE ALSO π
...bestie. it's empty. there's a SEE ALSO heading and nothing under it. nothing to see here, literally. π
π AUTHOR π
Generated from sync.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. so if you spot something off, that's your girl, that's the address, go tell them. π«Ά
X Version 11 Β· libxcb 1.17.0 Β· and that's the whole page bestie, ty for coming to my ted talk, 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