1xcb_sync_query_alarm(3) XCB Requests xcb_sync_query_alarm(3)
2
3
4
6 xcb_sync_query_alarm -
7
9 #include <xcb/sync.h>
10
11 Request function
12 xcb_sync_query_alarm_cookie_t
13 xcb_sync_query_alarm(xcb_connection_t *conn,
14 xcb_sync_alarm_t alarm);
15
16 Reply datastructure
17 typedef struct xcb_sync_query_alarm_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 xcb_sync_trigger_t trigger;
23 xcb_sync_int64_t delta;
24 uint8_t events;
25 uint8_t state;
26 uint8_t pad1[2];
27 } xcb_sync_query_alarm_reply_t;
28
29 Reply function
30 xcb_sync_query_alarm_reply_t
31 *xcb_sync_query_alarm_reply(xcb_connection_t *conn,
32 xcb_sync_query_alarm_cookie_t cookie, xcb_generic_error_t **e);
33
35 conn The XCB connection to X11.
36
37 alarm TODO: NOT YET DOCUMENTED.
38
40 response_type
41 The type of this reply, in this case XCB_SYNC_QUERY_ALARM.
42 This field is also present in the xcb_generic_reply_t and can
43 be used to tell replies apart from each other.
44
45 sequence The sequence number of the last request processed by the X11
46 server.
47
48 length The length of the reply, in words (a word is 4 bytes).
49
50 trigger TODO: NOT YET DOCUMENTED.
51
52 delta TODO: NOT YET DOCUMENTED.
53
54 events TODO: NOT YET DOCUMENTED.
55
56 state TODO: NOT YET DOCUMENTED.
57
60 Returns an xcb_sync_query_alarm_cookie_t. Errors have to be handled
61 when calling the reply function xcb_sync_query_alarm_reply.
62
63 If you want to handle errors in the event loop instead, use
64 xcb_sync_query_alarm_unchecked. See xcb-requests(3) for details.
65
67 This request does never generate any errors.
68
71 Generated from sync.xml. Contact xcb@lists.freedesktop.org for correcā
72 tions and improvements.
73
74
75
76X Version 11 libxcb 1.12 xcb_sync_query_alarm(3)