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

NAME

6       xcb_shm_create_segment -
7

SYNOPSIS

9       #include <xcb/shm.h>
10
11   Request function
12       xcb_shm_create_segment_cookie_t
13              xcb_shm_create_segment(xcb_connection_t *conn,
14              xcb_shm_seg_t shmseg, uint32_t size, uint8_t read_only);
15
16   Reply datastructure
17       typedef struct xcb_shm_create_segment_reply_t {
18           uint8_t  response_type;
19           uint8_t  nfd;
20           uint16_t sequence;
21           uint32_t length;
22           uint8_t  pad0[24];
23       } xcb_shm_create_segment_reply_t;
24
25   Reply function
26       xcb_shm_create_segment_reply_t
27              *xcb_shm_create_segment_reply(xcb_connection_t *conn,
28              xcb_shm_create_segment_cookie_t cookie,
29              xcb_generic_error_t **e);
30

REQUEST ARGUMENTS

32       conn      The XCB connection to X11.
33
34       shmseg    TODO: NOT YET DOCUMENTED.
35
36       size      TODO: NOT YET DOCUMENTED.
37
38       read_only TODO: NOT YET DOCUMENTED.
39

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

57       Returns an xcb_shm_create_segment_cookie_t. Errors have to be handled
58       when calling the reply function xcb_shm_create_segment_reply.
59
60       If you want to handle errors in the event loop instead, use
61       xcb_shm_create_segment_unchecked. See xcb-requests(3) for details.
62

ERRORS

64       This request does never generate any errors.
65

SEE ALSO

AUTHOR

68       Generated from shm.xml. Contact xcb@lists.freedesktop.org for correcā€
69       tions and improvements.
70
71
72
73X Version 11                     libxcb 1.13.1       xcb_shm_create_segment(3)
Impressum