xcb_selinux_list_selections(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

🌸 xcb_selinux_list_selections β€” the XCB Requests page, but make it cute

okay so this is xcb_selinux_list_selections(3), from the XCB Requests manual fam πŸ’– it's a libxcb 1.17.0 situation and we're gonna go through it together, no gatekeeping.


✨ NAME ✨

xcb_selinux_list_selections -

bestie the original page literally just leaves this blank after the dash πŸ’€ no description, no nothing, just a dangling hyphen living its truth. we respect it.

✨ SYNOPSIS ✨

#include <xcb/xselinux.h>

πŸŽ€ Request function

xcb_selinux_list_selections_cookie_t
       xcb_selinux_list_selections(xcb_connection_t *conn,

πŸŽ€ Reply datastructure

typedef struct xcb_selinux_list_selections_reply_t {
    uint8_t  response_type;
    uint8_t  pad0;
    uint16_t sequence;
    uint32_t length;
    uint32_t selections_len;
    uint8_t  pad1[20];
} xcb_selinux_list_selections_reply_t;

πŸŽ€ Reply function

xcb_selinux_list_selections_reply_t
       *xcb_selinux_list_selections_reply(xcb_connection_t *conn,
       xcb_selinux_list_selections_cookie_t cookie,
       xcb_generic_error_t **e);

πŸŽ€ Reply accessors

int xcb_selinux_list_selections_selections_length(const
       xcb_selinux_list_selections_reply_t *reply);

xcb_selinux_list_item_iterator_t
       xcb_selinux_list_selections_selections_iterator(const
       xcb_selinux_list_selections_reply_t *reply);

✨ REQUEST ARGUMENTS ✨

  • conn β€” the XCB connection to X11. that's it, that's the whole list. your link to the server, your whole situationship with X11 🫢

✨ REPLY FIELDS ✨

  • response_type β€” the type of this reply, which in this case is XCB_SELINUX_LIST_SELECTIONS. this field is also chilling inside the xcb_generic_reply_t, so you can use it to tell replies apart from each other. it's giving name tag at a party πŸ‘‘
  • sequence β€” the sequence number of the last request processed by the X11 server. literally the order-of-operations receipt.
  • length β€” the length of the reply, in words. and bestie, a word here is 4 bytes. periodt.
  • selections_len β€” TODO: NOT YET DOCUMENTED. yeah. nobody wrote it. it's an icon of mystery, no cap πŸ™ˆ

✨ DESCRIPTION ✨

so this section is just… empty. completely blank. the void. the manpage said "description?" and then said nothing πŸ’€

✨ RETURN VALUE ✨

Returns an xcb_selinux_list_selections_cookie_t. and listen β€” errors have to be handled when you call the reply function xcb_selinux_list_selections_reply.

if you'd rather handle errors in the event loop instead (valid, honestly, main character energy), use xcb_selinux_list_selections_unchecked. See xcb-requests(3) for details.


✨ ERRORS ✨

This request does never generate any errors. flawless behavior, we love that for it, zero drama 🌈


✨ SEE ALSO ✨

(this section is empty on the original page β€” nothing to see here, bestie, not even a reference 😭)

✨ AUTHOR ✨

Generated from xselinux.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. they're literally asking for your notes, so if you spot something, say something πŸ’…


and that's the whole page, bestie! the original footer vibe was: X Version 11, libxcb 1.17.0, page xcb_selinux_list_selections(3) β€” thanks for reading, mwah πŸŽ€πŸ’–βœ¨