xcb_store_named_color(3)
β¨ xcb_store_named_color β¨
okay bestie, gather round, because we're doing a little field trip into xcb_store_named_color from the libxcb manual pages (that's section 3 of the XCB Requests family, iykyk π
). Buckle up, it's giving β¨legacy X11 energyβ¨ and honestly? we're obsessed.
πΈ NAME πΈ
xcb_store_named_color β and that's literally it, bestie. The name is the whole vibe here. No little tagline, no one-line summary, just the function name sitting there looking pretty π. (Not every manpage gets a subtitle and that's okay. Main character energy doesn't need a caption.)
π¦ SYNOPSIS π¦
First things first, you gotta invite the header in:
#include <xcb/xproto.h>
π Request function π
xcb_void_cookie_t xcb_store_named_color(xcb_connection_t *conn,
uint8_t flags, xcb_colormap_t cmap, uint32_t pixel,
uint16_t name_len, const char *name);
Look at that signature. Six arguments, one return type, zero notes. Iconic. β¨
π REQUEST ARGUMENTS π
okay so this is the part where the manpage is like "here's what everything means" and then says TODO: NOT YET DOCUMENTED for literally every single one of them. Not me reading a documentation file that documents nothing π. But fr fr, here's the full roster, all accounted for, no gatekeeping:
connβ The XCB connection to X11. Your lil hotline to the X server, bestie. πflagsβ TODO: NOT YET DOCUMENTED. (yes, really. the page says this. we don't make the rules.)cmapβ TODO: NOT YET DOCUMENTED. πpixelβ TODO: NOT YET DOCUMENTED. πname_lenβ TODO: NOT YET DOCUMENTED. πnameβ TODO: NOT YET DOCUMENTED. π§
bestie note: I am not going to invent meanings for these. The original page genuinely says TODO: NOT YET DOCUMENTED for all five of them and I am a good noodle who does not make up technical facts. We respect the source. π«Ά
π DESCRIPTION π
...it's empty. That's it. That's the section. The DESCRIPTION section on this page is a void, a blank canvas, a liminal space. We have no description to give you and honestly that's its own kind of powerful. β¨
β RETURN VALUE β
This one actually has lore, thank goodness:
- It returns an
xcb_void_cookie_t. π - Errors (if any) have to be handled in the event loop. That's the rule, bestie, we don't do it any other way.
- If you want to handle errors directly with
xcb_request_checkinstead, usexcb_store_named_color_checked. Seexcb-requests(3)for details. π
π ERRORS π
okay here's the good news, the chef's kiss news, the ate-and-left-no-crumbs news:
This request does never generate any errors. π
Zero errors. None. Nada. It's the chillest request in the whole X server. Vibe check: passed. β
π SEE ALSO π
...nothing here either, bestie. The SEE ALSO section is empty on this page. No cross-references, no friends, no nothing. (Except the xcb-requests(3) shoutout from the RETURN VALUE section, which we already gave its flowers. π)
πΈ AUTHOR πΈ
- Generated from
xproto.xml. π - Contact
xcb@lists.freedesktop.orgfor corrections and improvements. π§
(hi yes that's the official contact info, they said corrections AND improvements, so if you spot something, go tell them, they're lovely, we love a maintainer π«Ά)
π« the sign-off π«
and that's the whole page, bestie!! This one came to you from X Version 11, living inside libxcb 1.17.0, and it's filed under xcb_store_named_color(3). No cap. Go forth, store those named colors, and remember: the DESCRIPTION section is empty but you are not. π
β¨π
π¦ 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