xcb_randr_get_crtc_gamma_size(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_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 is XCB_RANDR_GET_CRTC_GAMMA_SIZE. This field is also hanging out in the xcb_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 πŸ’–πŸŒΈβœ¨πŸ’