XCB_SELINUX_GET_SELECTION_USE_CONTEXT_CONTEXT_END(3)
π xcb_selinux_get_selection_use_context β XCB Requests β¨
okay bestie, welcome to the manual page for xcb_selinux_get_selection_use_context, part of the XCB Requests crew. she's a libxcb girlie, she lives in xselinux, and honestly? she's serving mystery because half of this page is "not yet documented" π. let's get into it.
πΈ NAME πΈ
xcb_selinux_get_selection_use_context β literally no description given, the original just trails off into the void π
π SYNOPSIS π
First up, you gotta pull her in:
#include <xcb/xselinux.h>
β¨ Request function β¨
xcb_selinux_get_selection_use_context_cookie_t
xcb_selinux_get_selection_use_context(xcb_connection_t *conn,
π¦ Reply datastructure π¦
here's the shape of the reply, look at her go:
typedef struct xcb_selinux_get_selection_use_context_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint32_t context_len;
uint8_t pad1[20];
} xcb_selinux_get_selection_use_context_reply_t;
π Reply function π
xcb_selinux_get_selection_use_context_reply_t
*xcb_selinux_get_selection_use_context_reply(xcb_connection_t *conn,
xcb_selinux_get_selection_use_context_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors π
the little helpers that get you into the reply, no cap:
char *xcb_selinux_get_selection_use_context_context(const
xcb_selinux_get_selection_use_context_request_t *reply);
int xcb_selinux_get_selection_use_context_context_length(const
xcb_selinux_get_selection_use_context_reply_t *reply);
xcb_generic_iterator_t
xcb_selinux_get_selection_use_context_context_end(const
xcb_selinux_get_selection_use_context_reply_t *reply);
π«Ά REQUEST ARGUMENTS π«Ά
connβ your XCB connection to X11. that's it, that's the whole list, she's low maintenance π
β REPLY FIELDS β
response_typeβ the type of this reply, and in this specific case it'sXCB_SELINUX_GET_SELECTION_USE_CONTEXT. this field also lives in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "which twin is which" energy πsequenceβ the sequence number of the last request the X11 server processed. it's giving receipt tracking π§Ύlengthβ how long the reply is, in words. and yes bestie, a word is 4 bytes, that's just the lore around here.context_lenβTODO: NOT YET DOCUMENTED.π the original literally said that, i'm not making it up, we simply do not know her.
π DESCRIPTION π
so... the DESCRIPTION section is empty. nothing. a whole vibe. she said "no thoughts, head empty" πΈ
π₯ RETURN VALUE π₯
she hands you back an xcb_selinux_get_selection_use_context_cookie_t. errors do NOT show up here β you have to deal with them when you call the reply function xcb_selinux_get_selection_use_context_reply.
but if you'd rather handle your errors in the event loop instead (valid, honestly), usexcb_selinux_get_selection_use_context_unchecked. head toxcb-requests(3)for the full tea on how that works.
πΈ ERRORS πΈ
this request never generates any errors. not one. zero. she's unproblematic fr fr β¨
π¦ SEE ALSO π¦
nothing here, the original left this section blank. we move.
π AUTHOR π
Generated from xselinux.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β they're taking notes, bestie π
and that's the whole page, you ate it π π this was X Version 11, libxcb 1.17.0, and honestly? iconic behavior from a manpage with three empty sections. slay, go forth and query your SELinux selection use context, periodt π«Άπ
π¦ 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