xcb_xv_query_port_attributes(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

✨ NAME ✨

xcb_xv_query_port_attributes β€” and then… nothing, bestie 😭 the description slot on this page is literally blank. We move anyway. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <xcb/xv.h>

Request function

xcb_xv_query_port_attributes_cookie_t
       xcb_xv_query_port_attributes(xcb_connection_t *conn,
       xcb_xv_port_t port);

Reply datastructure

typedef struct xcb_xv_query_port_attributes_reply_t {
    uint8_t  response_type;
    uint8_t  pad0;
    uint16_t sequence;
    uint32_t length;
    uint32_t num_attributes;
    uint32_t text_size;
    uint8_t  pad1[16];
} xcb_xv_query_port_attributes_reply_t;

Reply function

xcb_xv_query_port_attributes_reply_t
       *xcb_xv_query_port_attributes_reply(xcb_connection_t *conn,
       xcb_xv_query_port_attributes_cookie_t cookie,
       xcb_generic_error_t **e);

Reply accessors

int xcb_xv_query_port_attributes_attributes_length(const
       xcb_xv_query_port_attributes_reply_t *reply);
xcb_xv_attribute_info_iterator_t
       xcb_xv_query_port_attributes_attributes_iterator(const
       xcb_xv_query_port_attributes_reply_t *reply);

πŸ’– REQUEST ARGUMENTS πŸ’–

  • conn β€” your XCB connection to X11, the lil thread tying you to the server 🧡
  • port β€” TODO: NOT YET DOCUMENTED. yeah girl, they left us hanging πŸ™ˆ

πŸ¦‹ REPLY FIELDS πŸ¦‹

  • response_type β€” the type of this reply, and in this case it's XCB_XV_QUERY_PORT_ATTRIBUTES. This field also lives inside xcb_generic_reply_t, so you can use it to tell your replies apart from each other πŸ‘‘
  • sequence β€” the sequence number of the last request the X11 server actually processed πŸ”’
  • length β€” how long the reply is, in words (and a word is 4 bytes, that's the unit, periodt) πŸ“
  • num_attributes β€” TODO: NOT YET DOCUMENTED. πŸ’€
  • text_size β€” TODO: NOT YET DOCUMENTED. πŸ’€

🌸 DESCRIPTION 🌸

So… the DESCRIPTION section on this page is completely empty. Not a single word. The original just has the heading and then bounces. Genuinely iconic of it ✨


🫢 RETURN VALUE 🫢

You get back an xcb_xv_query_port_attributes_cookie_t. Errors do not show up here β€” you have to deal with them when you call the reply function xcb_xv_query_port_attributes_reply. πŸͺ

And if you'd rather catch your errors in the event loop instead? Then use xcb_xv_query_port_attributes_unchecked β€” the details live in xcb-requests(3), go read it bestie πŸ“š


πŸ”₯ ERRORS πŸ”₯

This request does never generate any errors. Not one. Zero. A clean slate, a peaceful life, we love that for you 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

This section is empty on the original page, so there's nothing to send you off to. No links, no friends, just vibes πŸ¦‹


πŸ’œ AUTHOR πŸ’œ

Generated from xv.xml. Got corrections or improvements? Contact xcb@lists.freedesktop.org β€” they'd love to hear from you fr fr πŸ’Œ


And that's the whole page, bestie!! πŸŽ€ This one came from X Version 11, shipped with libxcb 1.17.0, and it's the manual for xcb_xv_query_port_attributes(3). Go query those port attributes, you absolute main character πŸ‘‘πŸ’…βœ¨