xcb_record_register_clients(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_record_register_clients

okay bestie, pull up a chair, because we're reading a manual page from XCB Requests β€” that's the xcb_record_register_clients(3) joint, and honestly? it's giving mystery. πŸ’…


✨ NAME ✨

xcb_record_register_clients β€”

and that's it. no description. the NAME section said the name and then dipped. iconic behavior honestly. 🫢


✨ SYNOPSIS ✨

first things first, you gotta pull in the header:

#include <xcb/record.h>

then, the Request function:

xcb_void_cookie_t xcb_record_register_clients(xcb_connection_t *conn,
       xcb_record_context_t context,
       xcb_record_element_header_t element_header,
       uint32_t num_client_specs, uint32_t num_ranges, const
       xcb_record_client_spec_t *client_specs, const
       xcb_record_range_t *ranges);

look at that signature. seven arguments. she's thriving. 🌸


✨ REQUEST ARGUMENTS ✨

let's go through them one by one, no skips:

  • conn β€” the XCB connection to X11. your lil phone line to the server, fr fr. ☎️
  • context β€” TODO: NOT YET DOCUMENTED. 😭
  • element_header β€” TODO: NOT YET DOCUMENTED. 😭
  • num_client_specs β€” TODO: NOT YET DOCUMENTED. 😭
  • num_ranges β€” TODO: NOT YET DOCUMENTED. 😭
  • client_specs β€” TODO: NOT YET DOCUMENTED. 😭
  • ranges β€” TODO: NOT YET DOCUMENTED. 😭
not me reading six TODOs in a row πŸ’€ bestie the docs really said "figure it out" and left. we respect the honesty tho. no cap.

✨ DESCRIPTION ✨

literally empty. the DESCRIPTION section has nothing in it. zero. void. main character silence. πŸ¦‹


✨ RETURN VALUE ✨

she returns an xcb_void_cookie_t! πŸŽ€

and here's the important part, so listen up: errors (if any) have to be handled in the event loop.

now β€” if you'd rather handle errors directly with xcb_request_check instead, then you want xcb_record_register_clients_checked. periodt. πŸ’…

and for the full tea on all of this, go read xcb-requests(3).


✨ ERRORS ✨

this request does never generate any errors. ✨

so like... relax? she's chill. she's not gonna do you dirty. 🌈


✨ SEE ALSO ✨

bestie. it's empty. there is no SEE ALSO. the section is there, vibing, with nothing inside it. we love a minimalist queen. πŸ‘‘

✨ AUTHOR ✨

generated from record.xml. if you've got corrections and improvements, hit up xcb@lists.freedesktop.org β€” they're literally asking, so don't be shy. 🫢


and that's the whole page, bestie!! πŸ’–

this one came to you straight from X Version 11, libxcb 1.17.0, and yeah β€” it's xcb_record_register_clients(3), as always. mwah. πŸ’…βœ¨