XCB_SELINUX_SET_SELECTION_USE_CONTEXT_CHECKED(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_selinux_set_selection_use_context πŸ’–

okay bestie, welcome to the xcb_selinux_set_selection_use_context(3) page β€” yes the whole name is a mouthful, we're saying it together, no skipping πŸ’…


🌸 NAME 🌸

xcb_selinux_set_selection_use_context β€” and honestly? that's it. that's the whole NAME section. the original page just trails off with a little dash like it got distracted mid-sentence 🫢 no description given, so we're not making one up. periodt.


⭐ SYNOPSIS ⭐

First, you gotta bring in the header, like so:

#include <xcb/xselinux.h>

πŸŽ€ Request function

Here's the function signature, character for character, don't touch it:

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

🌈 REQUEST ARGUMENTS 🌈

  • conn β€” the XCB connection to X11. your lil link to the X server, slay πŸ’œ
  • context_len β€” TODO: NOT YET DOCUMENTED. yeah bestie, the docs said "not me leaving this blank" πŸ™ˆ
  • context β€” TODO: NOT YET DOCUMENTED. also blank. iconic behaviour honestly πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

crickets 🌸 the original page has literally nothing here. no description, no lore, nothing. we're respecting the void. lowkey mysterious of it.


πŸ’– RETURN VALUE πŸ’–

It hands you back an xcb_void_cookie_t πŸŽ€ β€” and any errors (if there even are any) have to be handled over in the event loop, not right here.

But wait, if you'd rather catch errors directly, use xcb_request_check instead β€” and for that you'd reach for xcb_selinux_set_selection_use_context_checked. See xcb-requests(3) for the details, bestie, it's all in there ✨


🧚 ERRORS 🧚

This request does never generate any errors. not a single one. zero. it's giving flawless πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

(nothing here on the original page β€” the section exists, it's just vibing empty 🌸)


πŸ’œ AUTHOR πŸ’œ

Generated from xselinux.xml. Wanna send corrections or improvements? Contact xcb@lists.freedesktop.org β€” they're the ones to talk to 🫢


fr fr, that's the whole page. short and sweet, no cap.

and a lil sign-off for you, bestie: this one comes from X Version 11, libxcb 1.17.0 β€” go forth and slay, mwah πŸ’‹πŸŒˆβœ¨