xcb_free_colors(3)
π NAME π
xcb_free_colors β it's an XCB request from the XCB Requests manual, bestie. The title line says xcb_free_colors(3) and the whole thing lives in libxcb, so you know it's β¨realβ¨.
π SYNOPSIS π
First things first, you gotta pull in the header:
#include <xcb/xproto.h>
π¦ Request function π¦
xcb_void_cookie_t xcb_free_colors(xcb_connection_t *conn,
xcb_colormap_t cmap, uint32_t plane_mask, uint32_t pixels_len,
const uint32_t *pixels);
Look at that signature. She's giving void cookie, she's giving colormap energy. Periodt.
πΈ REQUEST ARGUMENTS πΈ
connβ The XCB connection to X11. Your lil lifeline to the server, no cap.cmapβ TODO: NOT YET DOCUMENTED. (Yeah girl, the docs said "we'll get to it" and thenβ¦ didn't. π)plane_maskβ TODO: NOT YET DOCUMENTED. The mystery continues.pixels_lenβ TODO: NOT YET DOCUMENTED. Still a mystery.pixelsβ TODO: NOT YET DOCUMENTED. Four for four on the mystery front, iconic honestly.
π DESCRIPTION π
Soβ¦ the description section? It's literally empty. Not a single word. The vibe is silence, the vibe is mystery, the vibe is read the source code iykyk. π«Ά
β RETURN VALUE β
She hands you back an xcb_void_cookie_t. Any errors (if there even are any) have to be handled in the event loop, bestie β that's just how it works around here.
But wait β if you'd rather handle errors directly with xcb_request_check instead, use xcb_free_colors_checked. See xcb-requests(3) for all the deets. π
π ERRORS π
Okay so hear me out: this request does never generate any errors. Zero. None. Not a single one. She's flawless, she's unbothered, she's not gonna pop up in your error handling. π
π SEE ALSO π
Nothing here. Empty. A lil blank space where the cross-references should be. We move. π§
β¨ AUTHOR β¨
Generated from xproto.xml. If you spot something that needs fixing or improving, hit up xcb@lists.freedesktop.org β they're taking corrections and improvements, fr fr. π§
That's the whole page, babe. Short, sweet, and full of TODOs. Not her fault, she's just built different. π
Kisses from the XCB manual β this was xcb_free_colors(3), X Version 11, libxcb 1.17.0. Byeee, go free some colors! ππ¦π
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms