xcb_sync_query_alarm(3)
π xcb_sync_query_alarm β the manual page, but make it make sense π
okay bestie, welcome to the xcb_sync_query_alarm(3) page, filed under XCB Requests. Yes it's a 3-section libc-style manual page, yes we're doing this, and yes you're gonna slay it. π¦
β¨ NAME β¨
xcb_sync_query_alarm β (the original literally leaves this blank, so likeβ¦ it's the request that queries an alarm. That's the vibe. π)
πΈ SYNOPSIS πΈ
First thing's first, you gotta bring the header in:
#include <xcb/sync.h>
π Request function
xcb_sync_query_alarm_cookie_t
xcb_sync_query_alarm(xcb_connection_t *conn,
xcb_sync_alarm_t alarm);
π Reply datastructure
typedef struct xcb_sync_query_alarm_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
xcb_sync_trigger_t trigger;
xcb_sync_int64_t delta;
uint8_t events;
uint8_t state;
uint8_t pad1[2];
} xcb_sync_query_alarm_reply_t;
π Reply function
xcb_sync_query_alarm_reply_t
*xcb_sync_query_alarm_reply(xcb_connection_t *conn,
xcb_sync_query_alarm_cookie_t cookie, xcb_generic_error_t **e);
π«Ά REQUEST ARGUMENTS π«Ά
connβ your XCB connection to X11. the whole reason you're here tbh πalarmβTODO: NOT YET DOCUMENTED.yeah bestie, the docs justβ¦ didn't. iconic of them, honestly. π
π REPLY FIELDS π
response_typeβ the type of this reply, and in this case it'sXCB_SYNC_QUERY_ALARM. This field also lives in thexcb_generic_reply_t, so you can use it to tell replies apart from each other. she's the ID check at the door. β¨sequenceβ the sequence number of the last request processed by the X11 server. lowkey the timeline tracker. βlengthβ how long the reply is, measured in words. and no, not vibes β a word here is 4 bytes. fr fr. πtriggerβTODO: NOT YET DOCUMENTED.πdeltaβTODO: NOT YET DOCUMENTED.πeventsβTODO: NOT YET DOCUMENTED.πstateβTODO: NOT YET DOCUMENTED.π
π DESCRIPTION π
(empty. the original page justβ¦ has the heading and then nothing. it's giving "no thoughts, head empty" but make it documentation. π§)
β RETURN VALUE β
You get back an xcb_sync_query_alarm_cookie_t. πͺ Errors? You gotta handle those when you call the reply function, xcb_sync_query_alarm_reply.
But wait β if you'd rather handle errors in the event loop instead, use xcb_sync_query_alarm_unchecked. See xcb-requests(3) for the details. pick your fighter, bestie. π₯
π ERRORS π
This request does never generate any errors. not one. zero. a clean queen. π
π¦ SEE ALSO π¦
(blank in the original β nothing listed, so nothing to list. the silence is the message. π)
π AUTHOR π
Generated from sync.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. they're literally asking for your notes, so send them if you got them. π«Ά
ok and that's the whole page, bestie. every flag, field, signature,TODO: NOT YET DOCUMENTED., and#includeline is still here β the facts did not change, only the attitude. π
and finally, the cute sign-off: this one comes from X Version 11, shipped with libxcb 1.17.0, in the manual page xcb_sync_query_alarm(3). periodt. β¨ππ
π¦ 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