xcb_sync_set_priority(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_set_priority ✨

okay so this is a page from XCB Requests (that's the xcb_sync_set_priority(3) vibe, bestie πŸ’…) and we're about to get into it.


🌸 NAME 🌸

xcb_sync_set_priority β€” (and then... nothing. the description slot is literally empty. the original left it blank. we're working with what we've got, and what we've got is a name and a dream 🫢)


πŸŽ€ SYNOPSIS πŸŽ€

first things first, you gotta pull in the header:

#include <xcb/sync.h>

Request function

xcb_void_cookie_t xcb_sync_set_priority(xcb_connection_t *conn,
       uint32_t id, int32_t priority);

πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11. that's your link to the server, your whole main character connection πŸ”₯
  • id β€” TODO: NOT YET DOCUMENTED. yeah. the docs literally say that. no cap, that's the text. πŸ’€
  • priority β€” TODO: NOT YET DOCUMENTED. same energy, same exact words. not me being unable to tell you what it does because the original never did πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

so there is no description here. the section exists, the section is empty. it's giving "we forgor" 😭 i'm not gonna make stuff up for you, bestie β€” if the original doesn't say it, i don't say it either. periodt.

✨ RETURN VALUE ✨

it hands you back an xcb_void_cookie_t. that's the whole return, that's the whole meal πŸ“

and listen: any errors (if there even are any) have to be handled in the event loop. you don't get them handed to you directly.

but if you do want to handle errors directly with xcb_request_check instead, then use xcb_sync_set_priority_checked instead. see xcb-requests(3) for all the deets. slay πŸ’…


πŸ‘‘ ERRORS πŸ‘‘

this request never generates any errors. none. zero. not a single one. iconic behaviour honestly. 🌈


🌟 SEE ALSO 🌟

nothing listed here in the original. empty. a lil void. πŸ¦‹ (you can still go read xcb-requests(3) since RETURN VALUE name-dropped it, but that's it.)

πŸ’œ AUTHOR πŸ’œ

Generated from sync.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β€” they're the ones to tell, not me 🫢


and that's the whole page, bestie!! πŸ’– this one came from X Version 11, libxcb 1.17.0, and the page itself is xcb_sync_set_priority(3). short and sweet and slightly under-documented, but we ate anyway βœ¨πŸŽ€