xcb_randr_get_crtc_gamma(3)
β¨ xcb_randr_get_crtc_gamma β¨
okay bestie, welcome to the xcb_randr_get_crtc_gamma(3) page β it's part of the XCB Requests fam, and it's giving "let me peek at ur CRTC's gamma ramps" energy. π
πΈ NAME πΈ
xcb_randr_get_crtc_gamma β
lowkey the original page leaves this one blank, so we're keeping it blank. no notes. π
π¦ SYNOPSIS π¦
#include <xcb/randr.h>
π Request function
xcb_randr_get_crtc_gamma_cookie_t
xcb_randr_get_crtc_gamma(xcb_connection_t *conn,
xcb_randr_crtc_t crtc);
π Reply datastructure
typedef struct xcb_randr_get_crtc_gamma_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_reply_t;
π Reply function
xcb_randr_get_crtc_gamma_reply_t
*xcb_randr_get_crtc_gamma_reply(xcb_connection_t *conn,
xcb_randr_get_crtc_gamma_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors
uint16_t *xcb_randr_get_crtc_gamma_red(const
xcb_randr_get_crtc_gamma_request_t *reply);
int xcb_randr_get_crtc_gamma_red_length(const
xcb_randr_get_crtc_gamma_reply_t *reply);
xcb_generic_iterator_t xcb_randr_get_crtc_gamma_red_end(const
xcb_randr_get_crtc_gamma_reply_t *reply);
uint16_t *xcb_randr_get_crtc_gamma_green(const
xcb_randr_get_crtc_gamma_request_t *reply);
int xcb_randr_get_crtc_gamma_green_length(const
xcb_randr_get_crtc_gamma_reply_t *reply);
xcb_generic_iterator_t xcb_randr_get_crtc_gamma_green_end(const
xcb_randr_get_crtc_gamma_reply_t *reply);
uint16_t *xcb_randr_get_crtc_gamma_blue(const
xcb_randr_get_crtc_gamma_request_t *reply);
int xcb_randr_get_crtc_gamma_blue_length(const
xcb_randr_get_crtc_gamma_reply_t *reply);
xcb_generic_iterator_t xcb_randr_get_crtc_gamma_blue_end(const
xcb_randr_get_crtc_gamma_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11, aka ur lil hotline to the server. πcrtcβ TODO: NOT YET DOCUMENTED. (the manpage really said "figure it out bestie" π)
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_RANDR_GET_CRTC_GAMMA. it also lives inside thexcb_generic_reply_t, so you can use it to tell replies apart from each other. vibe check ur replies, basically. β¨sequenceβ the sequence number of the last request processed by the X11 server.lengthβ the length of the reply, in words (and a word is 4 bytes, bestie β don't forget that part).sizeβ TODO: NOT YET DOCUMENTED. π
π DESCRIPTION π
literally nothing here. the original page has an empty DESCRIPTION section and we are respectfully leaving it that way. iconic of them tbh. π
π«Ά RETURN VALUE π«Ά
Returns an xcb_randr_get_crtc_gamma_cookie_t. πͺ
Errors have to be handled when calling the reply function xcb_randr_get_crtc_gamma_reply.
If you want to handle errors in the event loop instead, use xcb_randr_get_crtc_gamma_unchecked. See xcb-requests(3) for details. β¨
π ERRORS π
This request does never generate any errors. not a single one. flawless behavior, no drama. periodt. π
π₯ SEE ALSO π₯
the original page lists no SEE ALSO entries here β it's empty, and we're keeping it empty. nothing to link, nothing to see. π
π AUTHOR π
Generated from randr.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. π«Ά
and that's the whole page, bestie!! π this was xcb_randr_get_crtc_gamma(3) from X Version 11, libxcb 1.17.0 β dated in the footer the same way it always was. go forth and read ur gamma ramps, you main character. πΈβ¨π
π¦ 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