XCB_SELINUX_GET_SELECTION_CONTEXT_REPLY(3)
π NAME π
xcb_selinux_get_selection_context β bestie, the description is literally blank in the original, soβ¦ it's giving mystery. We move anyway. π
β¨ SYNOPSIS β¨
#include <xcb/xselinux.h>
π¦ Request function
xcb_selinux_get_selection_context_cookie_t
xcb_selinux_get_selection_context(xcb_connection_t *conn,
xcb_atom_t selection);
π¦ Reply datastructure
typedef struct xcb_selinux_get_selection_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_context_reply_t;
π¦ Reply function
xcb_selinux_get_selection_context_reply_t
*xcb_selinux_get_selection_context_reply(xcb_connection_t *conn,
xcb_selinux_get_selection_context_cookie_t cookie,
xcb_generic_error_t **e);
π¦ Reply accessors
char *xcb_selinux_get_selection_context_context(const
xcb_selinux_get_selection_context_request_t *reply);
int xcb_selinux_get_selection_context_context_length(const
xcb_selinux_get_selection_context_reply_t *reply);
xcb_generic_iterator_t
xcb_selinux_get_selection_context_context_end(const
xcb_selinux_get_selection_context_reply_t *reply);
πΈ REQUEST ARGUMENTS πΈ
connβ the XCB connection to X11, aka your lil hotline to the server. πselectionβ okay so the original literally saysTODO: NOT YET DOCUMENTED.Not me exposing the manpage's unfinished homework. π It's anxcb_atom_t, bestie, that's all we got.
π REPLY FIELDS π
response_typeβ the type of this reply. In this case it'sXCB_SELINUX_GET_SELECTION_CONTEXT. This field also lives inxcb_generic_reply_t, so you can use it to tell replies apart from each other. Very main character of it. πsequenceβ the sequence number of the last request the X11 server processed. π§lengthβ the length of the reply, in words. And bestie, a word is 4 bytes, no cap. πcontext_lenβTODO: NOT YET DOCUMENTED.Yeah. Again. The lore is not lore-ing. π
π DESCRIPTION π
So the DESCRIPTION section isβ¦ empty. Nothing. A vibe void. π³οΈ The original page just moves straight on, so we move straight on too. Periodt.
π«Ά RETURN VALUE π«Ά
It returns an xcb_selinux_get_selection_context_cookie_t. πͺ
Errors have to be handled when you call the reply function, xcb_selinux_get_selection_context_reply.
If you'd rather handle errors in the event loop instead, use xcb_selinux_get_selection_context_unchecked. See xcb-requests(3) for the deets. β¨
π ERRORS π
This request does never generate any errors. Zero. None. Flawless behaviour, honestly iconic.
β SEE ALSO β
Empty. Bestie the cross-references said "no thoughts, head empty." π (There really isn't anything listed here in the original.)
π AUTHOR π
Generated from xselinux.xml. If you spot something wrong, contact xcb@lists.freedesktop.org for corrections and improvements. π«Ά
And that's the whole page, bestie! π This came to you from X Version 11, libxcb 1.17.0, and the xcb_selinux_get_selection_context(3) page itself. Stay slay, read your manpages, and remember: if a section says TODO, it's not your fault. π
β¨
π¦ 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