---
name: "xcb_store_colors_checked"
section: "3"
platform: "linux"
package: "libxcb"
version: "1.17.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xcb_store_colors"
---

# xcb\_store\_colors\_checked(3)

Part of [xcb\_store\_colors(3)](/xcb_store_colors/3.md).

## NAME

xcb\_store\_colors -

## SYNOPSIS

**#include \<xcb/xproto.h\>**

### Request function

xcb\_void\_cookie\_t **xcb\_store\_colors**(xcb\_connection\_t \**conn*, xcb\_colormap\_t *cmap*, uint32\_t *items\_len*, const xcb\_coloritem\_t \**items*);\

## REQUEST ARGUMENTS

- *conn*

  The XCB connection to X11.

- *cmap*

  TODO: NOT YET DOCUMENTED.

- *items\_len*

  TODO: NOT YET DOCUMENTED.

- *items*

  TODO: NOT YET DOCUMENTED.

## DESCRIPTION

## RETURN VALUE

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\_store\_colors\_checked*. See **[xcb-requests(3)](/xcb-requests/3.md)** for details.

## ERRORS

This request does never generate any errors.

## SEE ALSO

## AUTHOR

Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
