1xcb_shm_query_version(3)         XCB Requests         xcb_shm_query_version(3)
2
3
4

NAME

6       xcb_shm_query_version -
7

SYNOPSIS

9       #include <xcb/shm.h>
10
11   Request function
12       xcb_shm_query_version_cookie_t
13              xcb_shm_query_version(xcb_connection_t *conn,
14
15   Reply datastructure
16       typedef struct xcb_shm_query_version_reply_t {
17           uint8_t  response_type;
18           uint8_t  shared_pixmaps;
19           uint16_t sequence;
20           uint32_t length;
21           uint16_t major_version;
22           uint16_t minor_version;
23           uint16_t uid;
24           uint16_t gid;
25           uint8_t  pixmap_format;
26           uint8_t  pad0[15];
27       } xcb_shm_query_version_reply_t;
28
29   Reply function
30       xcb_shm_query_version_reply_t
31              *xcb_shm_query_version_reply(xcb_connection_t *conn,
32              xcb_shm_query_version_cookie_t cookie, xcb_generic_error_t **e);
33

REQUEST ARGUMENTS

35       conn      The XCB connection to X11.
36

REPLY FIELDS

38       response_type
39                 The type of this reply, in this case XCB_SHM_QUERY_VERSION.
40                 This field is also present in the xcb_generic_reply_t and can
41                 be used to tell replies apart from each other.
42
43       sequence  The sequence number of the last request processed by the X11
44                 server.
45
46       length    The length of the reply, in words (a word is 4 bytes).
47
48       shared_pixmaps
49                 TODO: NOT YET DOCUMENTED.
50
51       major_version
52                 TODO: NOT YET DOCUMENTED.
53
54       minor_version
55                 TODO: NOT YET DOCUMENTED.
56
57       uid       TODO: NOT YET DOCUMENTED.
58
59       gid       TODO: NOT YET DOCUMENTED.
60
61       pixmap_format
62                 TODO: NOT YET DOCUMENTED.
63

DESCRIPTION

RETURN VALUE

66       Returns an xcb_shm_query_version_cookie_t. Errors have to be handled
67       when calling the reply function xcb_shm_query_version_reply.
68
69       If you want to handle errors in the event loop instead, use
70       xcb_shm_query_version_unchecked. See xcb-requests(3) for details.
71

ERRORS

73       This request does never generate any errors.
74

SEE ALSO

AUTHOR

77       Generated from shm.xml. Contact xcb@lists.freedesktop.org for correcā€
78       tions and improvements.
79
80
81
82X Version 11                      libxcb 1.12         xcb_shm_query_version(3)
Impressum