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

NAME

6       xcb_get_atom_name -
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_get_atom_name_cookie_t xcb_get_atom_name(xcb_connection_t *conn,
13              xcb_atom_t atom);
14
15   Reply datastructure
16       typedef struct xcb_get_atom_name_reply_t {
17           uint8_t  response_type;
18           uint8_t  pad0;
19           uint16_t sequence;
20           uint32_t length;
21           uint16_t name_len;
22           uint8_t  pad1[22];
23       } xcb_get_atom_name_reply_t;
24
25   Reply function
26       xcb_get_atom_name_reply_t
27              *xcb_get_atom_name_reply(xcb_connection_t *conn,
28              xcb_get_atom_name_cookie_t cookie, xcb_generic_error_t **e);
29
30   Reply accessors
31       char *xcb_get_atom_name_name(const xcb_get_atom_name_request_t *reply);
32
33       int xcb_get_atom_name_name_length(const xcb_get_atom_name_reply_t
34              *reply);
35
36       xcb_generic_iterator_t xcb_get_atom_name_name_end(const
37              xcb_get_atom_name_reply_t *reply);
38

REQUEST ARGUMENTS

40       conn      The XCB connection to X11.
41
42       atom      TODO: NOT YET DOCUMENTED.
43

REPLY FIELDS

45       response_type
46                 The type of this reply, in this case XCB_GET_ATOM_NAME. This
47                 field is also present in the xcb_generic_reply_t and can be
48                 used to tell replies apart from each other.
49
50       sequence  The sequence number of the last request processed by the X11
51                 server.
52
53       length    The length of the reply, in words (a word is 4 bytes).
54
55       name_len  TODO: NOT YET DOCUMENTED.
56

DESCRIPTION

RETURN VALUE

59       Returns an xcb_get_atom_name_cookie_t. Errors have to be handled when
60       calling the reply function xcb_get_atom_name_reply.
61
62       If you want to handle errors in the event loop instead, use
63       xcb_get_atom_name_unchecked. See xcb-requests(3) for details.
64

ERRORS

66       This request does never generate any errors.
67

SEE ALSO

AUTHOR

70       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
71       rections and improvements.
72
73
74
75X Version 11                     libxcb 1.13.1            xcb_get_atom_name(3)
Impressum