xcb_randr_get_crtc_gamma_size(3)
π xcb_randr_get_crtc_gamma_size(3) π
okay bestie, welcome to the XCB Requests corner of the manual, where we talk about xcb_randr_get_crtc_gamma_size β yes that name is a mouthful, no we are not shortening it, it's iconic π
β¨ NAME β¨
xcb_randr_get_crtc_gamma_size β
bestie the description line is literally empty π like the manpage authors left it blank, so I'm not gonna invent lore. The name is the whole vibe here.
πΈ SYNOPSIS πΈ
First things first, you gotta pull in the header:
#include <xcb/randr.h>
π Request function
xcb_randr_get_crtc_gamma_size_cookie_t
xcb_randr_get_crtc_gamma_size(xcb_connection_t *conn,
xcb_randr_crtc_t crtc);
π¦ Reply datastructure
typedef struct xcb_randr_get_crtc_gamma_size_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint16_t size;
uint8_t pad1[22];
} xcb_randr_get_crtc_gamma_size_reply_t;
β Reply function
xcb_randr_get_crtc_gamma_size_reply_t
*xcb_randr_get_crtc_gamma_size_reply(xcb_connection_t *conn,
xcb_randr_get_crtc_gamma_size_cookie_t cookie,
xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the server, she's the main character fr fr πcrtcβ TODO: NOT YET DOCUMENTED. yeah babe, they just never wrote it down π the manpage says what it says and I'm not out here guessing, no cap.
π REPLY FIELDS π
response_typeβ the type of this reply, which in this case isXCB_RANDR_GET_CRTC_GAMMA_SIZE. This field is also hanging out in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. it's giving "hi it's me, your reply" πsequenceβ the sequence number of the last request processed by the X11 server. the receipts, basically π§Ύβ¨lengthβ the length of the reply, in words. and reminder bestie, a word is 4 bytes πsizeβ TODO: NOT YET DOCUMENTED. again!! the mystery field π she's mysterious, she's undocumented, we respect her privacy.
π DESCRIPTION π
it's empty. literally nothing here. the section exists and it is a void π³οΈβ¨ we move on.
π«Ά RETURN VALUE π«Ά
So this hands you back an xcb_randr_get_crtc_gamma_size_cookie_t πͺ (yes a cookie, slay). Errors have to be handled when you call the reply function xcb_randr_get_crtc_gamma_size_reply.
But if you'd rather handle errors in the event loop instead, use xcb_randr_get_crtc_gamma_size_unchecked. See xcb-requests(3) for the deets π
π₯ ERRORS π₯
This request does never generate any errors. π
not a single one. zero. she's unproblematic, she's low-drama, she's the friend who always shows up on time π β¨
π SEE ALSO π
nothing listed here, bestie. the section is there, the references are not. we simply note it and keep it moving π¦
π AUTHOR π
Generated from randr.xml. Contact xcb@lists.freedesktop.org for corrections and improvements β so if something's off, that's the group chat to slide into, fr fr π«Ά
and that's the whole page, bestie!! this gem ships with X Version 11, libxcb 1.17.0 β go forth and query those gamma sizes, 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