xcb_free_colormap(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_free_colormap β€” the XCB requests era, colormap edition 🎨

okay bestie, so this is xcb_free_colormap(3) from the XCB requests squad. yes, the manpage title really is just that. she's giving minimalist, she's giving mysterious, and honestly? iconic behaviour. let's get into it 🫢


✨ NAME ✨

xcb_free_colormap β€” literally just vibes and a colormap. the description slot is empty, no cap, that's just how the page is. we move πŸ’€


🌸 SYNOPSIS 🌸

first things first, you gotta bring in the header:

#include <xcb/xproto.h>

πŸŽ€ Request function πŸŽ€

xcb_void_cookie_t xcb_free_colormap(xcb_connection_t *conn,
       xcb_colormap_t cmap);

look at her go. clean. simple. main character energy fr fr ✨


πŸ¦‹ REQUEST ARGUMENTS πŸ¦‹

  • conn β€” the XCB connection to X11. your lil lifeline to the server, your situationship with the display, if you will πŸ’œ
  • cmap β€” TODO: NOT YET DOCUMENTED. yeah. that's all we got. the docs said "figure it out bestie" and honestly? relatable 😭

πŸ’– DESCRIPTION πŸ’–

okay so… there's nothing here. the DESCRIPTION section is empty. i'm not gonna invent lore for it because that would be lying and lying is not slay. the page just doesn't say. we respect the mystery 🧚


🌈 RETURN VALUE 🌈

she hands you back an xcb_void_cookie_t. that's the whole return, no big reveal.

and here's the tea: any errors (if there even are any) have to be handled over in the event loop. that's just the XCB lifestyle.

but wait β€” if you'd rather handle errors directly, like straight-up, no event loop middleman, then use xcb_free_colormap_checked instead. see xcb-requests(3) for the details, because that's where all the lore lives πŸ“–βœ¨


πŸ’€ ERRORS πŸ’€

this request never generates any errors. not a single one. she's perfect, she's unproblematic, she's the moment. periodt πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

…nothing listed. empty section. she said "no links, only vibes" πŸ’…


πŸ“ AUTHOR πŸ“

generated from xproto.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β€” they're the ones to talk to 🫢


ngl bestie, this one's short and sweet. free that colormap. you got this πŸ’–

X Version 11 Β· libxcb 1.17.0 Β· and that's the whole xcb_free_colormap(3) page, mwah, go slay πŸŒŸπŸ’…βœ¨