XCB_GLX_GET_COLOR_TABLE_PARAMETERIV_REPLY(3)
π xcb_glx_get_color_table_parameteriv β bestie edition π
okay so this is a page from the XCB Requests manual, and the star of the show is xcb_glx_get_color_table_parameteriv(3). yes the name is a whole mouthful, we're gonna get through it together π«Ά
β¨ NAME β¨
xcb_glx_get_color_table_parameteriv β and that's it, that's the name. the original page leaves the description blank, so no cap, there's literally nothing more to say here π
β¨ SYNOPSIS β¨
first things first, you gotta pull in the header:
#include <xcb/glx.h>
πΈ Request function
xcb_glx_get_color_table_parameteriv_cookie_t
xcb_glx_get_color_table_parameteriv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
uint32_t pname);
πΈ Reply datastructure
typedef struct xcb_glx_get_color_table_parameteriv_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
int32_t datum;
uint8_t pad2[12];
} xcb_glx_get_color_table_parameteriv_reply_t;
πΈ Reply function
xcb_glx_get_color_table_parameteriv_reply_t
*xcb_glx_get_color_table_parameteriv_reply(xcb_connection_t *conn,
xcb_glx_get_color_table_parameteriv_cookie_t cookie,
xcb_generic_error_t **e);
πΈ Reply accessors
int32_t *xcb_glx_get_color_table_parameteriv_data(const
xcb_glx_get_color_table_parameteriv_request_t *reply);
int xcb_glx_get_color_table_parameteriv_data_length(const
xcb_glx_get_color_table_parameteriv_reply_t *reply);
xcb_generic_iterator_t
xcb_glx_get_color_table_parameteriv_data_end(const
xcb_glx_get_color_table_parameteriv_reply_t *reply);
β¨ REQUEST ARGUMENTS β¨
connβ your XCB connection to X11. the whole vibe check with the X server goes through here, she's essential πcontext_tagβ TODO: NOT YET DOCUMENTED. yeah bestie, the docs just said "we'll get to it", and they did not get to it πtargetβ TODO: NOT YET DOCUMENTED. same energy, still a mystery πpnameβ TODO: NOT YET DOCUMENTED. three for three on the mystery box, iconic honestly π
β¨ REPLY FIELDS β¨
response_typeβ the type of this reply, which in this case isXCB_GLX_GET_COLOR_TABLE_PARAMETERIV. this field is also chillin' in thexcb_generic_reply_t, and it's literally how you tell your replies apart from each other, so like, use it πsequenceβ the sequence number of the last request the X11 server processed. it's giving receipt tracking π§Ύβ¨lengthβ the length of the reply, in words. and reminder that a word is 4 bytes, periodt πnβ TODO: NOT YET DOCUMENTED. yeah. again. πdatumβ TODO: NOT YET DOCUMENTED. the last of the mystery squad π¦
β¨ DESCRIPTION β¨
so... the original page has absolutely nothing under this heading. no description. empty. a blank space. and honestly? we respect the minimalism π
β¨ RETURN VALUE β¨
you get back an xcb_glx_get_color_table_parameteriv_cookie_t. πͺ and bestie listen, errors do not come back here β you have to handle them when you call the reply function, xcb_glx_get_color_table_parameteriv_reply.
but if you'd rather handle your errors in the event loop instead? no stress, just use xcb_glx_get_color_table_parameteriv_unchecked. if you want the full tea on how that works, go read xcb-requests(3) π«Ά
β¨ ERRORS β¨
this request does never generate any errors. zero. none. a clean slate, a flawless queen π
β¨ SEE ALSO β¨
nothing here in the original, so nothing here from me either. a moment of silence π€
β¨ AUTHOR β¨
this page was generated from glx.xml. if you wanna send corrections or improvements, hit up xcb@lists.freedesktop.org β they're literally taking notes ππ
and that's the whole page, bestie!! this little number came to you from X Version 11, running libxcb 1.17.0. go forth and query those color table parameters, you absolute icon πβ¨π
π¦ 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