xcb_randr_get_crtc_gamma(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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's XCB_RANDR_GET_CRTC_GAMMA. it also lives inside the xcb_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. πŸŒΈβœ¨πŸŽ€