xcb_sync_create_counter(3)
π« xcb_sync_create_counter β bestie edition π«
okay so this is a page from the XCB Requests manual, specifically xcb_sync_create_counter(3). pull up a chair, we're doing X11 sync stuff today and honestly? it's giving very demure, very undocumented. π
β¨ NAME β¨
xcb_sync_create_counter β and then... literally nothing. the description slot is empty. no cap, the manpage just trails off into the void. iconic of it, honestly. π«Ά
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <xcb/sync.h>
π¦ Request function π¦
here's the whole entire function signature, character for character, don't come for me:
xcb_void_cookie_t xcb_sync_create_counter(xcb_connection_t *conn,
xcb_sync_counter_t id, xcb_sync_int64_t initial_value);
three args, one void cookie, zero chill. let's break it down π
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. that's your link to the server, your main character connection, the whole vibe. π₯idβTODO: NOT YET DOCUMENTED.yeah. bestie. that's the actual text. we know nothing. πinitial_valueβ alsoTODO: NOT YET DOCUMENTED.two for two. the mystery continues. π
π§ DESCRIPTION π§
...nothing. absolutely nothing. the DESCRIPTION section is empty, like a group chat at 3am. this page simply does not elaborate. periodt. π
β RETURN VALUE β
it hands you back an xcb_void_cookie_t. and because it's a void cookie, any errors (if there are any) have to be handled over in the event loop β you don't get them shoved in your face right here. π
now, if you'd rather handle errors directly withxcb_request_checkinstead of waiting around in the event loop, usexcb_sync_create_counter_checked. that's your girl for immediate feedback. π
for the full tea on how requests and cookies work, go read xcb-requests(3). it's all in there, iykyk.
π ERRORS π
good news, bestie: this request never generates any errors. zero. none. not a single one. slay. β¨
π SEE ALSO π
nothing here either. no cross-references, no friends, just vibes. π¦
π AUTHOR π
this page was generated from sync.xml. so if something's wrong, missing, or just plain mysterious (looking at you, two TODOs), hit up xcb@lists.freedesktop.org with your corrections and improvements. they're taking notes, fr fr. π
okay that's the whole page, bestie β short, sweet, and honestly a little mysterious. this one shipped with X Version 11, libxcb 1.17.0, and it's xcb_sync_create_counter(3) forever and always. mwah. π go forth and create some counters. π«Άβ¨
π¦ 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