xcb_sync_change_counter(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 πŸ’…πŸ’–πŸ¦‹