XCB_SELINUX_SET_DEVICE_CONTEXT_CHECKED(3)
π 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 πππ¦
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms