XCB_SELINUX_SET_DEVICE_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_device_context β€” the libxcb request page

okay bestie, this is a page from the XCB Requests manual, and it's for the function xcb_selinux_set_device_context. Yes it's a mouthful. Yes you're gonna say it in your head three times. Let's go πŸ’–


🌸 NAME 🌸

xcb_selinux_set_device_context β€” and then… nothing. The name line is literally just the function name and a dangling dash with no description after it. The void. The silence. She said nothing and left. πŸ™ˆ


✨ SYNOPSIS ✨

πŸŽ€ Request function

#include <xcb/xselinux.h>
xcb_void_cookie_t xcb_selinux_set_device_context(xcb_connection_t *conn,
       uint32_t device, uint32_t context_len, const char *context);

that's the whole flex right there, copy it exactly bestie, don't freestyle it πŸ’…


🫢 REQUEST ARGUMENTS 🫢

  • conn β€” the XCB connection to X11. your lil hotline to the server, periodt.
  • device β€” TODO: NOT YET DOCUMENTED. yeah. the docs said "we'll finish this later" and then did not. iconic behaviour honestly 😭
  • context_len β€” TODO: NOT YET DOCUMENTED. same story, same unfinished homework πŸ“
  • context β€” TODO: NOT YET DOCUMENTED. the trio of mystery boxes. open at your own risk 🎁

πŸ¦‹ DESCRIPTION πŸ¦‹

nothing. nada. zero. the DESCRIPTION section is empty. The page literally just skips to the next heading like it owes you no explanation. no cap, that's the whole vibe here πŸ’€


πŸ’œ RETURN VALUE πŸ’œ

Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop. That's the rules of the game, bestie β€” you don't get them handed to you, you go catch them in the loop πŸƒβ€β™€οΈ

If you want to handle errors directly with xcb_request_check instead, use xcb_selinux_set_device_context_checked. See xcb-requests(3) for details. so if you're the type who needs to know immediately, take the _checked variant β€” she's the responsible sister πŸ’…


🌈 ERRORS 🌈

This request does never generate any errors. not one. not ever. flawless, unbothered, zero drama. ✨


⭐ SEE ALSO ⭐

there's nothing listed here. The section exists, it just doesn't have anything to say. a whole heading with no friends. relatable honestly 🫢


🧚 AUTHOR 🧚

Generated from xselinux.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. so if you spot something janky, that's the inbox to slide into πŸ“¬


okay and for the sign-off: this is from the X Version 11 family, and the page itself is libxcb 1.17.0. that's the version and the source, mwah πŸ’‹

stay hydrated, read your xcb-requests(3) bestie, and go slay your event loop πŸ’–πŸŽ€πŸ¦‹