xcb_selinux_s...y_use_context(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

🌸 hey bestie, welcome to the XCB Requests manual (section 3, iykyk) 🌸

okay so this page is literally about xcb_selinux_set_property_use_context, and yes the title got chopped in the terminal header (it's giving xcb_selinux_s...y_use_context(3) energy πŸ’€) but we're gonna spell the whole thing out for you, don't even worry.


✨ NAME ✨

xcb_selinux_set_property_use_context β€” that's it, that's the whole name, the original page literally just trails off after it 🫢


πŸŽ€ SYNOPSIS πŸŽ€

First things first, you gotta pull in the header:

#include <xcb/xselinux.h>

πŸ’… Request function

xcb_void_cookie_t
       xcb_selinux_set_property_use_context(xcb_connection_t *conn,
       uint32_t context_len, const char *context);

πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11, your lil hotline to the server πŸ’–
  • context_len β€” TODO: NOT YET DOCUMENTED. yeah. the docs said "we'll get to it" and then never got to it 😭
  • context β€” TODO: NOT YET DOCUMENTED. same situation bestie, the original is out here with a blank stare πŸ™ˆ

🌈 DESCRIPTION 🌈

so um. there is no description. the section exists and then it's just... nothing. silence. a void. the original page left this one completely empty, so we're not gonna make up lore that isn't there. main character of mystery, honestly πŸ‘‘


⭐ RETURN VALUE ⭐

it hands you back an xcb_void_cookie_t β€” that's your little receipt, bestie 🧾

any errors (if there even are any) have to be handled in the event loop. that's the vibe. that's how it works.

but wait β€” if you'd rather handle errors directly with xcb_request_check instead, then use xcb_selinux_set_property_use_context_checked (note the _checked glow-up ✨). see xcb-requests(3) for the details.


πŸ’€ ERRORS πŸ’€

this request does never generate any errors.

not one. zero. none. she's unbothered, she's thriving, she's not throwing anything at you πŸ”₯


πŸ’œ SEE ALSO πŸ’œ

this section is empty in the original, so there's genuinely nothing to point you at. tragic. iconic. both 🌸


πŸ“ AUTHOR πŸ“

Generated from xselinux.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (yes they really want your emails, go be a hero πŸ’Œ)


and that's the whole page, no cap πŸ’… big thank-you energy to X Version 11 and libxcb 1.17.0 for bringing us this one, mwah, bye bestie πŸŽ€βœ¨πŸ¦‹