xcb_dpms_info(3)
β¨ xcb_dpms_info β¨
okay bestie, welcome to the xcb_dpms_info page from the XCB Requests corner of the libxcb universe π«Ά it's a lil one, but it's ours.
πΈ NAME πΈ
xcb_dpms_info -
(yes the description is literally just a dash, no cap, the manpage is giving mysterious π we move.)
π SYNOPSIS π
#include <xcb/dpms.h>
π Request function
xcb_dpms_info_cookie_t xcb_dpms_info(xcb_connection_t *conn,
π¦ Reply datastructure
typedef struct xcb_dpms_info_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint16_t power_level;
uint8_t state;
uint8_t pad1[21];
} xcb_dpms_info_reply_t;
β Reply function
xcb_dpms_info_reply_t *xcb_dpms_info_reply(xcb_connection_t *conn,
xcb_dpms_info_cookie_t cookie, xcb_generic_error_t **e);
π REQUEST ARGUMENTS π
connβ your XCB connection to X11. that's the whole list, she's low maintenance π
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_DPMS_INFO. it also lives in thexcb_generic_reply_t, so you can use it to tell replies apart from each other. very "which one of you is this" energy πsequenceβ the sequence number of the last request processed by the X11 server. it's giving receipt π§Ύlengthβ the length of the reply, in words. and reminder bestie, a word is 4 bytes β¨power_levelβ TODO: NOT YET DOCUMENTED. πstateβ TODO: NOT YET DOCUMENTED. π
π DESCRIPTION π
...yeah. it's empty. the DESCRIPTION section is out here living its best silent main character life π no notes, no lore, nothing. iconic of it honestly.
π«Ά RETURN VALUE π«Ά
It returns an xcb_dpms_info_cookie_t. Errors have to be handled when calling the reply function xcb_dpms_info_reply.
If you want to handle errors in the event loop instead, use xcb_dpms_info_unchecked. See xcb-requests(3) for details.
π ERRORS π
This request does never generate any errors.
seriously, zero. not a single one. she's flawless, no cap β¨
π₯ SEE ALSO π₯
(nothing listed here β the original is a ghost town too π»)
π AUTHOR π
Generated from dpms.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
and that's the whole page bestie!! πΈ this one came from X Version 11, specifically libxcb 1.17.0, and it's tagged as xcb_dpms_info(3) β go forth and query that DPMS info, you absolute legend π
ππ¦
π¦ 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