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

NAME

6       xcb_glx_get_error -
7

SYNOPSIS

9       #include <xcb/glx.h>
10
11   Request function
12       xcb_glx_get_error_cookie_t xcb_glx_get_error(xcb_connection_t *conn,
13              xcb_glx_context_tag_t context_tag);
14
15   Reply datastructure
16       typedef struct xcb_glx_get_error_reply_t {
17           uint8_t  response_type;
18           uint8_t  pad0;
19           uint16_t sequence;
20           uint32_t length;
21           int32_t  error;
22       } xcb_glx_get_error_reply_t;
23
24   Reply function
25       xcb_glx_get_error_reply_t
26              *xcb_glx_get_error_reply(xcb_connection_t *conn,
27              xcb_glx_get_error_cookie_t cookie, xcb_generic_error_t **e);
28

REQUEST ARGUMENTS

30       conn      The XCB connection to X11.
31
32       context_tag
33                 TODO: NOT YET DOCUMENTED.
34

REPLY FIELDS

36       response_type
37                 The type of this reply, in this case XCB_GLX_GET_ERROR. This
38                 field is also present in the xcb_generic_reply_t and can be
39                 used to tell replies apart from each other.
40
41       sequence  The sequence number of the last request processed by the X11
42                 server.
43
44       length    The length of the reply, in words (a word is 4 bytes).
45
46       error     TODO: NOT YET DOCUMENTED.
47

DESCRIPTION

RETURN VALUE

50       Returns an xcb_glx_get_error_cookie_t. Errors have to be handled when
51       calling the reply function xcb_glx_get_error_reply.
52
53       If you want to handle errors in the event loop instead, use
54       xcb_glx_get_error_unchecked. See xcb-requests(3) for details.
55

ERRORS

57       This request does never generate any errors.
58

SEE ALSO

AUTHOR

61       Generated from glx.xml. Contact xcb@lists.freedesktop.org for correcā€
62       tions and improvements.
63
64
65
66X Version 11                      libxcb 1.13             xcb_glx_get_error(3)
Impressum