xcb_xv_set_port_attribute(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_xv_set_port_attribute ✨

okay bestie, gather round, it's libxcb storytime πŸŽ€ this one lives in the XCB Requests corner of the manual, and it's called xcb_xv_set_port_attribute β€” that's xcb_xv_set_port_attribute(3) if you're being formal, which, respectfully, we are not πŸ’…


🌸 NAME 🌸

xcb_xv_set_port_attribute β€” literally sets an attribute on an Xv port (the original page doesn't even bother explaining it, so we're keeping it mysterious, iykyk) πŸ¦‹


✨ SYNOPSIS ✨

#include <xcb/xv.h>

🫢 Request function

xcb_void_cookie_t xcb_xv_set_port_attribute(xcb_connection_t *conn,
       xcb_xv_port_t port, xcb_atom_t attribute, int32_t value);

πŸ’– REQUEST ARGUMENTS πŸ’–

  • conn β€” the XCB connection to X11. your lil hotline to the X server, no cap πŸ“ž
  • port β€” TODO: NOT YET DOCUMENTED. bestie the docs simply did not show up to class that day 😭
  • attribute β€” TODO: NOT YET DOCUMENTED. also MIA πŸ™ˆ
  • value β€” TODO: NOT YET DOCUMENTED. three for three, it's giving "we'll fill this in later" πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

this section is completely empty in the original. nothing. void. xcb_void_cookie_t energy fr fr 🌈

no description was ever written, so there's nothing to spill β€” we keep it exactly as blank as it came, periodt.


⭐ RETURN VALUE ⭐

it hands you back an xcb_void_cookie_t. any errors (if there even are any) have to be handled over in the event loop, that's just how the cookie crumbles πŸ“

if you'd rather handle errors directly with xcb_request_check instead, use xcb_xv_set_port_attribute_checked. see xcb-requests(3) for the deets πŸ‘‘


πŸ’œ ERRORS πŸ’œ

this request does never generate any errors. zero. none. clean sheet. iconic behaviour honestly ✨


🌈 SEE ALSO 🌈

empty in the original, so there's nothing to link. just vibes 🧚

πŸ‘‘ AUTHOR πŸ‘‘

generated from xv.xml. contact xcb@lists.freedesktop.org for corrections and improvements β€” they're taking feedback, so slide into their inbox politely πŸ’Œ


that's the whole page, bestie. go forth and set those port attributes, whatever they are 🫢

X Version 11 Β· libxcb 1.17.0 Β· xcb_xv_set_port_attribute(3) β€” mwah, take care of her πŸ’…πŸŽ€