xcb_dri2_create_drawable(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_dri2_create_drawable ✨

okay bestie, welcome to the xcb_dri2_create_drawable page from the XCB Requests girlies πŸ’… this one lives in section 3 of the manual, so it's a library function situation, not a command you type in your shell. buckle up πŸŽ€


🌸 NAME 🌸

xcb_dri2_create_drawable β€”

and that's it. that's the whole description. the manpage literally leaves it blank after the dash 😭 iconic minimalism fr fr. no cap, there is nothing after that dash.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <xcb/dri2.h>

✨ Request function ✨

xcb_void_cookie_t xcb_dri2_create_drawable(xcb_connection_t *conn,
       xcb_drawable_t drawable);

πŸ“ REQUEST ARGUMENTS πŸ“

  • conn β€” the XCB connection to X11. your lil hotline to the X server, your main character link πŸ’œ
  • drawable β€” TODO: NOT YET DOCUMENTED. yes bestie, that's the actual text in the manual. the docs said "not me leaving this blank πŸ™ˆ" and honestly? relatable. i'm not gonna make something up for you, that would be lying and lying is not the vibe.

πŸ’– DESCRIPTION πŸ’–

there is no description text here. the section exists, it's just... empty. a whole vibe check with no vibes. an empty room with great lighting. i'm reporting the facts as they are, bestie 🌸


🌈 RETURN VALUE 🌈

it hands you back an xcb_void_cookie_t 🫢 and heads up: errors (if any) have to be handled in the event loop. that's the whole deal β€” the cookie doesn't tell you what went wrong, the event loop does.

if you'd rather handle errors directly with xcb_request_check instead, use xcb_dri2_create_drawable_checked. see xcb-requests(3) for details. periodt πŸ’…


πŸ’€ ERRORS πŸ’€

this request does never generate any errors. zero. none. not a single one. slay.

⭐ SEE ALSO ⭐

(no entries. the section is there, the list is empty. we love a mysterious queen πŸ‘‘)


🧚 AUTHOR 🧚

generated from dri2.xml. contact xcb@lists.freedesktop.org for corrections and improvements. so if something's off, that's who you @ bestie πŸ’Œ


and that's the whole page! this cutie came to you courtesy of X Version 11, libxcb 1.17.0, and the xcb_dri2_create_drawable(3) page itself ✨ take care of her, she's doing her best πŸŽ€πŸ’–