XCB_SELINUX_GET_PROPERTY_DATA_CONTEXT_CONTEXT(3)
π xcb_selinux_get_property_data_context π
okay bestie, welcome to the libxcb SELinux corner of the universe β this is the manual page for xcb_selinux_get_property_data_context from the XCB Requests fam, and yes we're gonna read the whole thing together, no skimming, no cap. π¦
β¨ NAME β¨
xcb_selinux_get_property_data_context β and that's literally all the NAME section says, bestie, it's giving mysterious main character energy π
β¨ SYNOPSIS β¨
πΈ the include, obviously
#include <xcb/xselinux.h>
π Request function
xcb_selinux_get_property_data_context_cookie_t
xcb_selinux_get_property_data_context(xcb_connection_t *conn,
xcb_window_t window, xcb_atom_t property);
π Reply datastructure
typedef struct xcb_selinux_get_property_data_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_property_data_context_reply_t;
π₯ Reply function
xcb_selinux_get_property_data_context_reply_t
*xcb_selinux_get_property_data_context_reply(xcb_connection_t *conn,
xcb_selinux_get_property_data_context_cookie_t cookie,
xcb_generic_error_t **e);
π«Ά Reply accessors
char *xcb_selinux_get_property_data_context_context(const
xcb_selinux_get_property_data_context_request_t *reply);
int xcb_selinux_get_property_data_context_context_length(const
xcb_selinux_get_property_data_context_reply_t *reply);
xcb_generic_iterator_t
xcb_selinux_get_property_data_context_context_end(const
xcb_selinux_get_property_data_context_reply_t *reply);
β¨ REQUEST ARGUMENTS β¨
connβ the XCB connection to X11. that's your whole link to the server, your ride-or-die, your situationship with the display. πwindowβ TODO: NOT YET DOCUMENTED. (the docs really said "we'll get back to you" π)propertyβ TODO: NOT YET DOCUMENTED. (same vibe, same void, fr fr π)
β¨ REPLY FIELDS β¨
response_typeβ the type of this reply, and in this case it'sXCB_SELINUX_GET_PROPERTY_DATA_CONTEXT. this field also lives inside thexcb_generic_reply_t, so you can peek at it to tell your replies apart from each other β very "which one of y'all texted me" energy. πsequenceβ the sequence number of the last request processed by the X11 server. it's the receipts, bestie. π§Ύβ¨lengthβ the length of the reply, in words (and a word is 4 bytes, periodt). πcontext_lenβ TODO: NOT YET DOCUMENTED. (again!! the mystery continues π)
β¨ DESCRIPTION β¨
the DESCRIPTION section is empty, bestie. not a single word. it's giving silence, it's giving "let the synopsis speak for itself." iconic, honestly. π
β¨ RETURN VALUE β¨
It returns an xcb_selinux_get_property_data_context_cookie_t. πͺ
Errors have to be handled when you call the reply function xcb_selinux_get_property_data_context_reply.
If you'd rather handle errors in the event loop instead, use xcb_selinux_get_property_data_context_unchecked. See xcb-requests(3) for the details, bestie β it's the whole lore drop. π
β¨ ERRORS β¨
This request does never generate any errors. not one. zero. flawless behaviour, we love to see it. πβ¨
β¨ SEE ALSO β¨
nothing here, bestie β the SEE ALSO section is empty. we're on our own out here. π¦
β¨ AUTHOR β¨
Generated from xselinux.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. (yes, they really want your emails, go be a helper π«Ά)
and that's the whole page, bestie!! you read all of it, I'm so proud, this is your main character moment. π
bye babe β this was X Version 11, libxcb 1.17.0, and it's been a pleasure doing Unix with you. slay, hydrate, and go read xcb-requests(3). mwah π
π¦ 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