xcb_sync_create_fence(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_create_fence(3) πŸ’–

okay so bestie, welcome to the XCB Requests corner of the manual (section 3, for the record, that's where all the library-request girlies live) ✨


🌸 NAME 🌸

xcb_sync_create_fence β€” and that's literally it, that's the whole description. no little dash-summary, no nothing. the name section is giving minimalist. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

First things first, you gotta bring in the header:

#include <xcb/sync.h>

✨ Request function ✨

xcb_void_cookie_t xcb_sync_create_fence(xcb_connection_t *conn,
       xcb_drawable_t drawable, xcb_sync_fence_t fence,
       uint8_t initially_triggered);

that's the whole vibe right there 🫢


πŸŽ€ REQUEST ARGUMENTS πŸŽ€

  • conn β€” your XCB connection to X11. the plug, the link, the whole reason you're here. πŸ”Œ
  • drawable β€” TODO: NOT YET DOCUMENTED. yeah bestie, they left us on read with this one 😭
  • fence β€” TODO: NOT YET DOCUMENTED. also ghosted. πŸ’€
  • initially_triggered β€” TODO: NOT YET DOCUMENTED. three for three, no cap. πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

literally nothing here. the DESCRIPTION section is empty, like a group chat after someone says "we need to talk." do with that what you will 🌈


⭐ RETURN VALUE ⭐

It hands you back an xcb_void_cookie_t. and listen β€” errors (if any even show up) have to be handled in the event loop, so don't be out here forgetting to check.

if you'd rather handle errors directly with xcb_request_check instead, then use xcb_sync_create_fence_checked β€” that's the checked version, she's the responsible one πŸ‘‘

see xcb-requests(3) for the deets, iykyk.


πŸ’€ ERRORS πŸ’€

this request does never generate any errors. none. zero. she's flawless, she's unproblematic, she ate and left no crumbs πŸ”₯

🌈 SEE ALSO 🌈

nothing listed. empty. a void. the SEE ALSO section is out here with main character energy and zero supporting cast πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

Generated from sync.xml. For corrections and improvements, hit up xcb@lists.freedesktop.org β€” they're the ones to DM about fixes 🫢


and that's the whole page, bestie! this was served up from X Version 11, libxcb 1.17.0 β€” the date line is empty, so we're just gonna say whenever and call it iconic. slay, bye πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ