xcb_create_colormap(3)
π xcb_create_colormap β bestie's guide to the XCB requests manual π
okay so this is xcb_create_colormap(3) from the XCB Requests crew β the whole manpage, no skips, no cap. it's giving "short but mysterious" and honestly? we're gonna walk through every single crumb. β¨
β¨ NAME β¨
xcb_create_colormap β and that's it, bestie π the description slot is literally empty in the source. no tagline, no subtitle, no nothing. main character energy with zero intro. iconic behavior.
β¨ SYNOPSIS β¨
first things first, you gotta bring in the header:
#include <xcb/xproto.h>
π Request function π
and here's the function itself β look at her:
xcb_void_cookie_t xcb_create_colormap(xcb_connection_t *conn,
uint8_t alloc, xcb_colormap_t mid, xcb_window_t window,
xcb_visualid_t visual);
yes she returns an xcb_void_cookie_t. yes she's void. we love a queen who gives you a cookie and no actual value π
β¨ REQUEST ARGUMENTS β¨
let's go through every single one, no skipping, periodt:
connβ yourXCB connection to X11. the whole lifeline, the situationship you can't escape. π«Άallocβ one of the following values, and there are exactly two:XCB_COLORMAP_ALLOC_NONEβTODO: NOT YET DOCUMENTED.yeah. that's the whole thing. the docs said "we'll get to it" and then never did πXCB_COLORMAP_ALLOC_ALLβTODO: NOT YET DOCUMENTED.alsoTODO: NOT YET DOCUMENTED.β and listen, there's a secondTODO: NOT YET DOCUMENTED.just hanging out after it in the original, unclaimed, unexplained. two whole TODOs. the mystery is not solving itself, bestie π
midβTODO: NOT YET DOCUMENTED.the placeholder is placeholdering.windowβTODO: NOT YET DOCUMENTED.same vibe, different argument.visualβTODO: NOT YET DOCUMENTED.and that's the last one, all equally undocumented.
β¨ DESCRIPTION β¨
nothing. empty. blank. this section has no text in it at all. the void is voiding. we respect her privacy π
β¨ RETURN VALUE β¨
okay here's actual info, lock in π₯
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.
If you want to handle errors directly with xcb_request_check instead, use xcb_create_colormap_checked. See xcb-requests(3) for details.
so basically: cookie now, consequences later. either you catch your errors in the event loop, or you go the xcb_request_check route with xcb_create_colormap_checked. your choice, your journey, slay β¨
β¨ ERRORS β¨
This request does never generate any errors.
read it again. never. zero. none. she is unproblematic in the error department, and honestly? that's the dream πΈ
β¨ SEE ALSO β¨
empty. nothing here. no cross-references, no friends, no neighbors. she stands alone π¦
β¨ AUTHOR β¨
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
like, if you spot something wrong, that's the email. they want your feedback, fr fr π
and that's the whole page, bestie β every option, every argument, every single TODO: NOT YET DOCUMENTED., every section, all of it. we ate and left no crumbs π
cute little sign-off: this one's from X Version 11, libxcb 1.17.0, and the manpage date stamped alongside it. mwah π π
π¦ 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