xcb_selinux_g...perty_context(3)
π xcb_selinux_get_property_context(3) β XCB Requests π
okay bestie, buckle up, we're reading a manpage together and it's giving libxcb energy. this one lives in the XCB Requests section, and yes the title is literally truncated in the wild like xcb_selinux_g...perty_context(3) because somebody let the column width win. we respect the chaos. π«Ά
β¨ NAME β¨
xcb_selinux_get_property_context β
not me telling you the description is literally blank in the source. that's not me being lazy, that's the manpage being mysterious. main character silence. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include <xcb/xselinux.h>
π Request function π
xcb_selinux_get_property_context_cookie_t
xcb_selinux_get_property_context(xcb_connection_t *conn,
xcb_window_t window, xcb_atom_t property);
π Reply datastructure π
typedef struct xcb_selinux_get_property_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_context_reply_t;
look at those little pad0 and pad1[20] fields, they're just vibing, holding space, doing absolutely nothing. iconic behavior honestly. β¨
π Reply function π
xcb_selinux_get_property_context_reply_t
*xcb_selinux_get_property_context_reply(xcb_connection_t *conn,
xcb_selinux_get_property_context_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors π
these are the little helpers that get the good stuff out of the reply:
char *xcb_selinux_get_property_context_context(const
xcb_selinux_get_property_context_request_t *reply);
int xcb_selinux_get_property_context_context_length(const
xcb_selinux_get_property_context_reply_t *reply);
xcb_generic_iterator_t
xcb_selinux_get_property_context_context_end(const
xcb_selinux_get_property_context_reply_t *reply);
π¦ REQUEST ARGUMENTS π¦
connβ the XCB connection to X11. it's the line to the server, the group chat with the display, the whole reason we're here. πwindowβ TODO: NOT YET DOCUMENTED. yeah bestie, the docs just never got written. we move.propertyβ TODO: NOT YET DOCUMENTED. also a mystery. no cap.
π REPLY FIELDS π
response_typeβ the type of this reply, in this caseXCB_SELINUX_GET_PROPERTY_CONTEXT. this field is also present in thexcb_generic_reply_t, and you can use it to tell replies apart from each other. it's the name tag at the party. πsequenceβ the sequence number of the last request processed by the X11 server. it's how you know where you are in the timeline. βlengthβ the length of the reply, in words. and reminder: a word is 4 bytes. not 2. not 8. four. πcontext_lenβ TODO: NOT YET DOCUMENTED. another gorgeous empty box. we love a mystery.
π« DESCRIPTION π«
soβ¦ there's a DESCRIPTION section. and it is empty. nothing. void. the silence is deafening. i'm not adding anything because that would be making stuff up and we don't do that here. π
π RETURN VALUE π
it hands you back an xcb_selinux_get_property_context_cookie_t. cute lil cookie. π
and listen, errors? you don't get them here. you have to handle them when you call the reply function, xcb_selinux_get_property_context_reply.
if you'd rather handle your errors in the event loop instead, then use xcb_selinux_get_property_context_unchecked. see xcb-requests(3) for the details, bestie. π«Ά
π ERRORS π
this request does never generate any errors. zero. none. not a single one. slay, honestly.
π§ SEE ALSO π§
β¦yeah there's a SEE ALSO heading and nothing under it. no references. no friends. just vibes. π
πΈ AUTHOR πΈ
Generated from xselinux.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. go tell them if something's off, they're literally asking. π¬
okay that's the whole page!! and for the little sign-off moment: this beauty comes from X Version 11, libxcb 1.17.0, and the footer's manual name is xcb_selinux_g...perty_context(3). πβ¨ππ¦πΈπ
π«Άππ₯ππβππππ§π
go forth and query your property context, bestie. 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